stopLocate method

LeafletMap stopLocate()

Stops watching location previously initiated by map.locate({watch: true}) and aborts resetting the map view if map.locate was called with {setView: true}.

Implementation

external LeafletMap stopLocate();