diff options
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM/MapQuest.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/OSM/MapQuest.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Map/OSM/MapQuest.pm b/perllib/FixMyStreet/Map/OSM/MapQuest.pm index 9cf6de01f..4751679f5 100644 --- a/perllib/FixMyStreet/Map/OSM/MapQuest.pm +++ b/perllib/FixMyStreet/Map/OSM/MapQuest.pm @@ -16,7 +16,8 @@ sub map_type { } sub map_tiles { - my ($self, $x, $y, $z) = @_; + my ( $self, %params ) = @_; + my ( $x, $y, $z ) = ( $params{x_tile}, $params{y_tile}, $params{zoom_act} ); my $tile_url = $self->base_tile_url(); return [ "http://otile1.$tile_url/$z/" . ($x - 1) . "/" . ($y - 1) . ".png", |