diff options
Diffstat (limited to 'perllib/FixMyStreet/Map/Bristol.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/Bristol.pm | 8 |
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 '© BCC'; } +sub map_type { + return 'bristol'; +} + # Reproject a WGS84 lat/lon into BNG easting/northing sub reproject_from_latlon($$$) { my ($self, $lat, $lon) = @_; |