imagery: fix floating text and switch to https links in attribution
authorGrant Slater <git@firefishy.com>
Tue, 14 Feb 2017 22:23:00 +0000 (22:23 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 14 Feb 2017 22:23:00 +0000 (22:23 +0000)
cookbooks/imagery/templates/default/imagery.js.erb
cookbooks/imagery/templates/default/index.html.erb

index e1ed53515d11cfa15cad589054a6bd39247975bc..0f277444b45b0c9f23d16be14bb8718dfd22d394 100644 (file)
@@ -7,7 +7,7 @@ function createMap(divName) {
 
   // Add OpenStreetMap layer
   layers.addBaseLayer(L.tileLayer("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
-    attribution: "© <a target=\"_parent\" href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and contributors, under an <a target=\"_parent\" href=\"http://www.openstreetmap.org/copyright\">open license</a>",
+    attribution: "© <a target=\"_parent\" href=\"https://www.openstreetmap.org\">OpenStreetMap</a> and contributors, under an <a target=\"_parent\" href=\"https://www.openstreetmap.org/copyright\">open license</a>",
     maxZoom: 19
   }), "OpenStreetMap");
   <% @layers.sort_by { |layer| layer[:name] }.each do |layer| -%>
index 391aefece97b96fdf8407534e9199d698b2942d2..f0c76fedecc8861e311a9e9950985ba3e89b703f 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html>lea
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
   <head>
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>