diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/TfL.pm | 12 | ||||
-rw-r--r-- | perllib/FixMyStreet/Map/Bromley.pm | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/TfL.pm b/perllib/FixMyStreet/Cobrand/TfL.pm index e26dfee65..751831b10 100644 --- a/perllib/FixMyStreet/Cobrand/TfL.pm +++ b/perllib/FixMyStreet/Cobrand/TfL.pm @@ -25,6 +25,18 @@ sub is_council { 0 } sub abuse_reports_only { 1 } sub send_questionnaires { 0 } +sub disambiguate_location { + my $self = shift; + my $string = shift; + + return { + %{ $self->SUPER::disambiguate_location() }, + town => "London", + }; +} + +sub get_geocoder { 'OSM' } + sub category_change_force_resend { 1 } sub do_not_reply_email { shift->feature('do_not_reply_email') } diff --git a/perllib/FixMyStreet/Map/Bromley.pm b/perllib/FixMyStreet/Map/Bromley.pm index 595c83f6d..518382fc0 100644 --- a/perllib/FixMyStreet/Map/Bromley.pm +++ b/perllib/FixMyStreet/Map/Bromley.pm @@ -10,7 +10,7 @@ use base 'FixMyStreet::Map::FMS'; use strict; sub map_tile_base { - '-', "https://%sfix.bromley.gov.uk/tilma/%d/%d/%d.png"; + '-', "//%stilma.mysociety.org/bromley/%d/%d/%d.png"; } 1; |