diff options
author | Dave Arter <davea@mysociety.org> | 2016-11-24 13:56:00 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-12-13 16:18:32 +0000 |
commit | 05ba5147de9dc7b68f3c9048771fcabf80f20eca (patch) | |
tree | 98c109042400302d942eaae61abecad4dba67511 /web/js/map-google.js | |
parent | b377665d0d839825afa65e7393cfedb13ae85e80 (diff) |
Display nearby candidate reports when marking as duplicate
- Use Problem->pin_data for single report page
- Promote markers_highlight to fixmystreet.maps API
We want to highlight map pins on the duplicate report selection UI, so let's use
what's already there instead of writing something new.
- Make sure duplicate report pins aren’t draggable
Diffstat (limited to 'web/js/map-google.js')
-rw-r--r-- | web/js/map-google.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/map-google.js b/web/js/map-google.js index 4c3f6188e..be2df8502 100644 --- a/web/js/map-google.js +++ b/web/js/map-google.js @@ -56,6 +56,9 @@ fixmystreet.maps = {}; google.maps.event.trigger(fixmystreet.map, 'idle'); }; + // This is a noop on Google Maps right now. + fixmystreet.maps.markers_highlight = function() {}; + function PaddingControl(div) { div.style.padding = '40px'; } |