aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Google.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-05-18 15:30:35 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-05-18 15:30:35 +0100
commit173abd37716cb49cde3d4836a9cf51a285bd3b79 (patch)
tree4be29d9830e00b243d6b7bfdbf410a9bfad84c64 /perllib/FixMyStreet/Map/Google.pm
parentd4a75fd58381f2964607a2937946202e34cb6f30 (diff)
parent1a1bfff12415a7793fee22bcd4e5e39e10dbd4d3 (diff)
Merge branch '1286-catching-gaze'
Diffstat (limited to 'perllib/FixMyStreet/Map/Google.pm')
-rw-r--r--perllib/FixMyStreet/Map/Google.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Map/Google.pm b/perllib/FixMyStreet/Map/Google.pm
index 46823f358..8ddf4f4e9 100644
--- a/perllib/FixMyStreet/Map/Google.pm
+++ b/perllib/FixMyStreet/Map/Google.pm
@@ -7,7 +7,7 @@
package FixMyStreet::Map::Google;
use strict;
-use mySociety::Gaze;
+use FixMyStreet::Gaze;
use Utils;
use constant ZOOM_LEVELS => 6;
@@ -30,7 +30,7 @@ sub display_map {
# Adjust zoom level dependent upon population density
my $dist = $c->stash->{distance}
- || mySociety::Gaze::get_radius_containing_population( $params{latitude}, $params{longitude}, 200_000 );
+ || FixMyStreet::Gaze::get_radius_containing_population( $params{latitude}, $params{longitude} );
my $default_zoom = $c->cobrand->default_map_zoom() ? $c->cobrand->default_map_zoom() : $numZoomLevels - 4;
$default_zoom = $numZoomLevels - 3 if $dist < 10;