aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/around.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r--www/js/views/around.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 1690021..db33bda 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -156,8 +156,10 @@
$('#login-options').hide();
$('#mark-here').hide();
$('#postcodeForm').hide();
- fixmystreet.markers.setVisibility(false);
- fixmystreet.select_feature.deactivate();
+ var lonlat = this.getCrossHairPosition();
+ var markers = fms_markers_list( [ [ lonlat.lat, lonlat.lon, 'green', 'location', '', 'location' ] ], true );
+ fixmystreet.markers.removeAllFeatures();
+ fixmystreet.markers.addFeatures( markers );
},
onClickCancel: function(e) {