aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/Buckinghamshire.pm8
-rw-r--r--web/cobrands/buckinghamshire/js.js4
2 files changed, 9 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
index 71ada1148..72dd485ac 100644
--- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
@@ -51,11 +51,17 @@ sub open311_config {
my $extra = $row->get_extra_fields;
push @$extra,
{ name => 'report_url',
- value => $h->{url} };
+ value => $h->{url} },
+ { name => 'title',
+ value => $row->title },
+ { name => 'description',
+ value => $row->detail };
$row->set_extra_fields(@$extra);
}
sub map_type { 'Buckinghamshire' }
+sub default_map_zoom { 3 }
+
1;
diff --git a/web/cobrands/buckinghamshire/js.js b/web/cobrands/buckinghamshire/js.js
index 135538d1e..95d3c18f4 100644
--- a/web/cobrands/buckinghamshire/js.js
+++ b/web/cobrands/buckinghamshire/js.js
@@ -23,7 +23,7 @@ fixmystreet.assets.add({
min_resolution: 0.5971642833948135,
asset_id_field: 'central_as',
attributes: {
- column_id: 'n'
+ asset_details: 'central_as'
},
geometryName: 'msGeometry',
srsName: "EPSG:3857"
@@ -48,7 +48,7 @@ fixmystreet.assets.add({
min_resolution: 0.5971642833948135,
asset_id_field: 'central_as',
attributes: {
- column_id: 'n'
+ asset_details: 'central_as'
},
geometryName: 'msGeometry',
srsName: "EPSG:3857"