diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-25 17:45:17 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-25 17:45:17 +0100 |
commit | 349dd7c35e2ad5d1cef4c8e4a023ec3b17dd8d80 (patch) | |
tree | 0705979206f0302bc224bbc1887fd91ad182635a /perllib/FixMyStreet/Map/Tilma/Original.pm | |
parent | 09a64afec4e023a184de075df3780c8b525b6066 (diff) | |
parent | 71a8ac1a32323177b68e6c13a1f9b24534aa44ee (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/Map/Tilma/Original.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/Tilma/Original.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Map/Tilma/Original.pm b/perllib/FixMyStreet/Map/Tilma/Original.pm index c7ff5a52f..f834c2d2a 100644 --- a/perllib/FixMyStreet/Map/Tilma/Original.pm +++ b/perllib/FixMyStreet/Map/Tilma/Original.pm @@ -36,7 +36,7 @@ sub header_js { # display_map C PARAMS # PARAMS include: # latitude, longitude for the centre point of the map -# TYPE is 1 if the map is clickable, 0 otherwise. +# CLICKABLE is set if the map is clickable # PINS is array of pins to show, location and colour sub display_map { my ($self, $c, %params) = @_; @@ -72,10 +72,9 @@ sub display_map { my $tiles = LWP::Simple::get($tiles_url); my $tileids = RABX::unserialise($tiles); $c->stash->{map} = { + %params, type => 'tilma/original', - pins => $params{pins}, tiles => $tiles, - clickable => $params{type}, url => $url, tileids => $tileids, x => $x, |