diff options
author | Struan Donald <struan@exo.org.uk> | 2013-06-20 18:36:42 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-06-20 18:36:42 +0100 |
commit | 4077584b85e9fea306f634a5b5a3d9272d8261fd (patch) | |
tree | 6026b773c035835a59e27c930fc978ba6a91ba18 | |
parent | e503ecfd937e6115ecbd72fbf63238a1cc5d8465 (diff) |
stop and start problem pins being displayed on new report/cancel report
-rw-r--r-- | www/js/views/around.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index db33bda..aeff46d 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -156,6 +156,7 @@ $('#login-options').hide(); $('#mark-here').hide(); $('#postcodeForm').hide(); + fixmystreet.bbox_strategy.deactivate(); var lonlat = this.getCrossHairPosition(); var markers = fms_markers_list( [ [ lonlat.lat, lonlat.lon, 'green', 'location', '', 'location' ] ], true ); fixmystreet.markers.removeAllFeatures(); @@ -176,8 +177,9 @@ this.model.set('lat', null); this.model.set('lon', null); } - fixmystreet.markers.setVisibility(true); + fixmystreet.bbox_strategy.activate(); fixmystreet.select_feature.activate(); + fixmystreet_activate_drag(); }, onClickReport: function() { |