aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Bristol.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-07-08 13:30:44 +0100
committerDave Arter <davea@mysociety.org>2016-07-08 13:30:44 +0100
commit2df9363f794679bee9c6d705cd7fc6fdae599718 (patch)
treeb08e3be68bb016119901d91b841ec336eb964b2c /perllib/FixMyStreet/Map/Bristol.pm
parent6d3cbb5d58c0297959c541da50faaf39884ffe1c (diff)
parentffa79bdd4b4f18fc535de212d9e4b35af858e91b (diff)
Merge branch 'issues/commercial/769-zurich-lv95'
Diffstat (limited to 'perllib/FixMyStreet/Map/Bristol.pm')
-rw-r--r--perllib/FixMyStreet/Map/Bristol.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Map/Bristol.pm b/perllib/FixMyStreet/Map/Bristol.pm
index 7098ceb40..3b60d1acf 100644
--- a/perllib/FixMyStreet/Map/Bristol.pm
+++ b/perllib/FixMyStreet/Map/Bristol.pm
@@ -20,9 +20,9 @@ sub zoom_parameters {
sub tile_parameters {
my $self = shift;
my $params = {
- url => 'https://maps.bristol.gov.uk/arcgis/rest/services/base/2015_BCC_96dpi/MapServer/WMTS/tile',
+ urls => [ 'https://maps.bristol.gov.uk/arcgis/rest/services/base/2015_BCC_96dpi/MapServer/WMTS/tile' ],
+ layer_names => [ '2015_BCC_96dpi' ],
wmts_version => '1.0.0',
- layer_name => '2015_BCC_96dpi',
layer_style => 'default',
matrix_set => 'default028mm',
suffix => '.png', # appended to tile URLs
@@ -60,6 +60,10 @@ sub copyright {
return '&copy; BCC';
}
+sub map_type {
+ return 'bristol';
+}
+
# Reproject a WGS84 lat/lon into BNG easting/northing
sub reproject_from_latlon($$$) {
my ($self, $lat, $lon) = @_;