From 93d8307a4128a9903e345ffe1213b9c02ad190e5 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 14 Feb 2017 22:23:00 +0000 Subject: [PATCH] imagery: fix floating text and switch to https links in attribution --- cookbooks/imagery/templates/default/imagery.js.erb | 2 +- cookbooks/imagery/templates/default/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/imagery/templates/default/imagery.js.erb b/cookbooks/imagery/templates/default/imagery.js.erb index e1ed53515..0f277444b 100644 --- a/cookbooks/imagery/templates/default/imagery.js.erb +++ b/cookbooks/imagery/templates/default/imagery.js.erb @@ -7,7 +7,7 @@ function createMap(divName) { // Add OpenStreetMap layer layers.addBaseLayer(L.tileLayer("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { - attribution: "© OpenStreetMap and contributors, under an open license", + attribution: "© OpenStreetMap and contributors, under an open license", maxZoom: 19 }), "OpenStreetMap"); <% @layers.sort_by { |layer| layer[:name] }.each do |layer| -%> diff --git a/cookbooks/imagery/templates/default/index.html.erb b/cookbooks/imagery/templates/default/index.html.erb index 391aefece..f0c76fede 100644 --- a/cookbooks/imagery/templates/default/index.html.erb +++ b/cookbooks/imagery/templates/default/index.html.erb @@ -1,4 +1,4 @@ -lea + -- 2.43.2