aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2019-05-21 14:46:15 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-05-28 14:41:06 +0100
commit418ed096e7c79c8ccde9a2eb5023a7a4f0210402 (patch)
tree7f3412df851704d5877a7d308a8499840a5f7997 /perllib/FixMyStreet/Map
parentd6f264c35a4aef78e1c9df75a63aee0eecbd9a7b (diff)
[UK Councils] Use shared template files for WMTS base maps
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r--perllib/FixMyStreet/Map/Bristol.pm2
-rw-r--r--perllib/FixMyStreet/Map/Buckinghamshire.pm2
-rw-r--r--perllib/FixMyStreet/Map/UKCouncilWMTS.pm2
3 files changed, 2 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Map/Bristol.pm b/perllib/FixMyStreet/Map/Bristol.pm
index e32026ee4..32f5724f5 100644
--- a/perllib/FixMyStreet/Map/Bristol.pm
+++ b/perllib/FixMyStreet/Map/Bristol.pm
@@ -32,8 +32,6 @@ sub copyright {
return '&copy; BCC';
}
-sub map_template { 'bristol' }
-
sub map_javascript { [
'/vendor/OpenLayers/OpenLayers.wmts.js',
'/js/map-OpenLayers.js',
diff --git a/perllib/FixMyStreet/Map/Buckinghamshire.pm b/perllib/FixMyStreet/Map/Buckinghamshire.pm
index 0e1a7f493..d24077f70 100644
--- a/perllib/FixMyStreet/Map/Buckinghamshire.pm
+++ b/perllib/FixMyStreet/Map/Buckinghamshire.pm
@@ -35,8 +35,6 @@ sub copyright {
return '&copy; BCC';
}
-sub map_template { 'buckinghamshire' }
-
sub map_javascript { [
'/vendor/OpenLayers/OpenLayers.wmts.js',
'/vendor/OpenLayers.Projection.OrdnanceSurvey.js',
diff --git a/perllib/FixMyStreet/Map/UKCouncilWMTS.pm b/perllib/FixMyStreet/Map/UKCouncilWMTS.pm
index c1a729f85..da0720f06 100644
--- a/perllib/FixMyStreet/Map/UKCouncilWMTS.pm
+++ b/perllib/FixMyStreet/Map/UKCouncilWMTS.pm
@@ -47,4 +47,6 @@ sub reproject_to_latlon($$$) {
return ($lat, $lon);
}
+sub map_template { 'wmts' }
+
1;