aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Bing.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-14 12:32:28 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 15:57:38 +0000
commit5846b85b117714041be38ae4a79c2a849aba73ae (patch)
tree1b015825325dd8f433640f9553c892336a802738 /perllib/FixMyStreet/Map/Bing.pm
parent15acb885f5240f63a5e19c4474851291518f0677 (diff)
Move map JS to code, to be used on all pages.
Diffstat (limited to 'perllib/FixMyStreet/Map/Bing.pm')
-rw-r--r--perllib/FixMyStreet/Map/Bing.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Map/Bing.pm b/perllib/FixMyStreet/Map/Bing.pm
index e62406349..68c9fea32 100644
--- a/perllib/FixMyStreet/Map/Bing.pm
+++ b/perllib/FixMyStreet/Map/Bing.pm
@@ -8,7 +8,11 @@ use strict;
sub map_type { '' }
-sub map_template { 'bing' }
+sub map_javascript { [
+ '/vendor/OpenLayers/OpenLayers.fixmystreet.js',
+ '/js/map-OpenLayers.js',
+ '/js/map-bing-ol.js',
+] }
sub copyright { '' }