aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-16 10:38:49 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-16 10:38:49 +0100
commitc104ae8c1d72eb25ba60686b58f01da148dc081f (patch)
tree83bbf971b4d4ca305452bdfaacf50cd30ae5317c /perllib/FixMyStreet/App/Controller/Around.pm
parent213948dcc9c281b1873da98e381b25231c376165 (diff)
parentf6ddc9d4db2e272d725e7ed44fb4d828d99d3b61 (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into open311-consumer
Conflicts: db/schema.sql perllib/FixMyStreet/DB/Result/Problem.pm
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index b29415566..c93ca7334 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -172,7 +172,7 @@ sub display_location : Private {
# get the map features
my ( $on_map_all, $on_map, $around_map, $distance ) =
- FixMyStreet::Map::map_features( $c, $latitude, $longitude,
+ FixMyStreet::Map::map_features( $c, $short_latitude, $short_longitude,
$interval );
# copy the found reports to the stash
@@ -199,8 +199,8 @@ sub display_location : Private {
$c->stash->{page} = 'around'; # So the map knows to make clickable pins, update on pan
FixMyStreet::Map::display_map(
$c,
- latitude => $latitude,
- longitude => $longitude,
+ latitude => $short_latitude,
+ longitude => $short_longitude,
clickable => 1,
pins => \@pins,
);