diff options
author | Struan Donald <struan@exo.org.uk> | 2018-04-04 09:49:38 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-03 21:35:40 +0100 |
commit | 30426bc093541066f8cc2f40b4a23261d5e4526c (patch) | |
tree | 528a2d6b8f481ba63f31f0ef09477445678a5e62 /perllib/FixMyStreet/Map/BathNES.pm | |
parent | 9f341adabd2a22de7e13c43e860bb3741017bf58 (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/BathNES.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/BathNES.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Map/BathNES.pm b/perllib/FixMyStreet/Map/BathNES.pm index 9c9c3c11d..b21ba6ce7 100644 --- a/perllib/FixMyStreet/Map/BathNES.pm +++ b/perllib/FixMyStreet/Map/BathNES.pm @@ -7,12 +7,12 @@ use base 'FixMyStreet::Map::OSM'; use strict; sub map_javascript { [ - '/vendor/OpenLayers/OpenLayers.bathnes.js', + '/vendor/OpenLayers/OpenLayers.wfs.js', '/vendor/OpenLayers.Projection.OrdnanceSurvey.js', '/js/map-OpenLayers.js', '/js/map-OpenStreetMap.js', '/cobrands/fixmystreet/assets.js', - '/cobrands/bathnes/js.js', + '/cobrands/bathnes/assets.js', ] } -1;
\ No newline at end of file +1; |