From 5846b85b117714041be38ae4a79c2a849aba73ae Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 14 Nov 2017 12:32:28 +0000 Subject: Move map JS to code, to be used on all pages. --- perllib/FixMyStreet/Map/Angus.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 perllib/FixMyStreet/Map/Angus.pm (limited to 'perllib/FixMyStreet/Map/Angus.pm') diff --git a/perllib/FixMyStreet/Map/Angus.pm b/perllib/FixMyStreet/Map/Angus.pm new file mode 100644 index 000000000..98f5373c1 --- /dev/null +++ b/perllib/FixMyStreet/Map/Angus.pm @@ -0,0 +1,18 @@ +# FixMyStreet:Map::Angus +# More JavaScript, for street assets + +package FixMyStreet::Map::Angus; +use base 'FixMyStreet::Map::FMS'; + +use strict; + +sub map_javascript { [ + '/vendor/OpenLayers/OpenLayers.angus.js', + '/js/map-OpenLayers.js', + '/js/map-bing-ol.js', + '/js/map-fms.js', + '/cobrands/fixmystreet/assets.js', + '/cobrands/angus/js.js', +] } + +1; -- cgit v1.2.3