diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-15 17:35:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-15 17:35:29 +0000 |
commit | db75de1ca7268692215dc79f157d61ab7d66fa8e (patch) | |
tree | cb2095aa1f8466919b25674c35f7b8d1bbbabcde /perllib/FixMyStreet/Map/OSM/TonerLite.pm | |
parent | 52ab72ad43b391b0f3b6f7385b5ba723cc1a4aba (diff) | |
parent | f59e12ee3fa9c65f178a300954586f6ac91bba79 (diff) |
Merge branch '1901-js-deferring'
Updated geolocation.js with concurrent changes.
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM/TonerLite.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/OSM/TonerLite.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Map/OSM/TonerLite.pm b/perllib/FixMyStreet/Map/OSM/TonerLite.pm index b0d12c453..b50611f3d 100644 --- a/perllib/FixMyStreet/Map/OSM/TonerLite.pm +++ b/perllib/FixMyStreet/Map/OSM/TonerLite.pm @@ -16,7 +16,12 @@ use strict; sub map_type { 'OpenLayers.Layer.Stamen' } -sub map_template { 'osm-toner-lite' } +sub map_javascript { [ + '/vendor/OpenLayers/OpenLayers.fixmystreet.js', + "https://stamen-maps.a.ssl.fastly.net/js/tile.stamen.js?v1.3.0", + '/js/map-OpenLayers.js', + '/js/map-toner-lite.js', +] } sub copyright { 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.' |