diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 17:33:26 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 17:33:26 +0100 |
commit | 71a8ac1a32323177b68e6c13a1f9b24534aa44ee (patch) | |
tree | dfafc68b6f1da91f4a386eea1b135fbb86fcda7f /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | bbe4d5975fddfc731b0177119bf4cda401d41d97 (diff) |
Tidy up map parmeters.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index ac665055b..eef805da8 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -189,14 +189,14 @@ sub display_location : Private { } } @$on_map_all, @$around_map; { # FIXME - ideally this indented code should be in the templates - $c->stash->{map_html} = FixMyStreet::Map::display_map( + FixMyStreet::Map::display_map( $c, latitude => $latitude, longitude => $longitude, - type => 1, + clickable => 1, pins => \@pins, ); - $c->stash->{map_js} = FixMyStreet::Map::header_js(); + $c->stash->{map_js} = FixMyStreet::Map::header_js(); } return 1; |