diff options
Diffstat (limited to 'www/js/views/around.js')
-rw-r--r-- | www/js/views/around.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index 01e99ec..69a59d1 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -86,7 +86,7 @@ FMS.currentPosition = centre; fixmystreet.map.panTo(centre); } - FMS.locator.updatePosition(); + FMS.locator.trackPosition(); }, positionUpdate: function( info ) { @@ -151,7 +151,7 @@ goPhoto: function(info) { this.stopListening(FMS.locator); - FMS.locator.stopUpdating(); + FMS.locator.stopTracking(); this.model.set('lat', info.coordinates.latitude ); this.model.set('lon', info.coordinates.longitude ); this.model.set('categories', info.details.category ); @@ -162,7 +162,7 @@ goSearch: function(e) { e.preventDefault(); this.stopListening(FMS.locator); - FMS.locator.stopUpdating(); + FMS.locator.stopTracking(); this.navigate( 'search' ); }, |