aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-07-18 12:42:32 +0100
committerDave Arter <davea@mysociety.org>2018-08-17 11:04:19 +0100
commit009a0b1e030c7f78b12519c7defe4ea52576e6ba (patch)
tree4a00311b4f85a16afdc736a7c07e20d8047f1eaa
parentb0c5155b23f4d792df669c7951f2e925ad84f964 (diff)
[Lincolnshire] Update example places & geocoder config
-rw-r--r--perllib/FixMyStreet/Cobrand/Lincolnshire.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Lincolnshire.pm b/perllib/FixMyStreet/Cobrand/Lincolnshire.pm
index d86afd77b..833fbff12 100644
--- a/perllib/FixMyStreet/Cobrand/Lincolnshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Lincolnshire.pm
@@ -17,6 +17,23 @@ sub is_two_tier { 1 }
sub enable_category_groups { 1 }
+sub example_places {
+ return ( 'LN1 1YL', 'Orchard Street, Lincoln' );
+}
+
+sub disambiguate_location {
+ my $self = shift;
+ my $string = shift;
+ return {
+ %{ $self->SUPER::disambiguate_location() },
+ town => 'Lincolnshire',
+ centre => '53.1128371079972,-0.237920757894981',
+ span => '0.976148231905086,1.17860658530345',
+ bounds => [ 52.6402179235688, -0.820651304784901, 53.6163661554738, 0.357955280518546 ],
+ };
+}
+
+
sub open311_config {
my ($self, $row, $h, $params) = @_;