aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-21 15:58:11 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-21 15:58:11 +0100
commit1ae102a9f4ebddb4a94b9fd8094ec47c57f7ad00 (patch)
treeb51f0a57eeb35212068f654268cb9e1bf3bd74b9 /perllib/FixMyStreet/Cobrand/FixaMinGata.pm
parent52b57d2da227b1a5a19bc1c50b78d3f307ac0382 (diff)
Use default link zoom for all map types.
[Bristol] Use more zoomed-in default link zoom.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FixaMinGata.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/FixaMinGata.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixaMinGata.pm b/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
index a321d5c7c..5b78b3fa1 100644
--- a/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
+++ b/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
@@ -35,17 +35,6 @@ sub area_types {
[ 'KOM' ];
}
-# If lat/lon are present in the URL, OpenLayers will use that to centre the map.
-# Need to specify a zoom to stop it defaulting to null/0.
-sub uri {
- my ( $self, $uri ) = @_;
-
- $uri->query_param( zoom => 3 )
- if $uri->query_param('lat') && !$uri->query_param('zoom');
-
- return $uri;
-}
-
sub geocode_postcode {
my ( $self, $s ) = @_;
# Most people write Swedish postcodes like this: