aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/OSM.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-04-04 09:49:38 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-08-03 21:35:40 +0100
commit30426bc093541066f8cc2f40b4a23261d5e4526c (patch)
tree528a2d6b8f481ba63f31f0ef09477445678a5e62 /perllib/FixMyStreet/Map/OSM.pm
parent9f341adabd2a22de7e13c43e860bb3741017bf58 (diff)
[UK] Pull in cobrand asset files on national site.
Also add body name to layer defaults, so they are only used where appropriate. Switch mapit area javascript calls to GeoJSON, so we can drop KML support in OpenLayers.wfs.js which saves a small amount of bandwidth.
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM.pm')
-rw-r--r--perllib/FixMyStreet/Map/OSM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Map/OSM.pm b/perllib/FixMyStreet/Map/OSM.pm
index 47d6eeee7..67f12d526 100644
--- a/perllib/FixMyStreet/Map/OSM.pm
+++ b/perllib/FixMyStreet/Map/OSM.pm
@@ -19,7 +19,7 @@ sub map_type { 'OpenLayers.Layer.OSM.Mapnik' }
sub map_template { 'osm' }
sub map_javascript { [
- '/vendor/OpenLayers/OpenLayers.fixmystreet.js',
+ '/vendor/OpenLayers/OpenLayers.wfs.js',
'/js/map-OpenLayers.js',
'/js/map-OpenStreetMap.js',
] }