Skip to content

Commit 19f0481

Browse files
committed
Docstrings: linkify map.locate()
1 parent 4460bd7 commit 19f0481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/map/ext/Map.Geolocation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ L.Map.include({
1616
},
1717

1818
// @method locate(options?: Locate options): this
19-
// Tries to locate the user using the Geolocation API, firing a `locationfound`
20-
// event with location data on success or a `locationerror` event on failure,
19+
// Tries to locate the user using the Geolocation API, firing a [`locationfound`](#map-locationfound)
20+
// event with location data on success or a [`locationerror`](#map-locationerror) event on failure,
2121
// and optionally sets the map view to the user's location with respect to
2222
// detection accuracy (or to the world view if geolocation failed).
2323
// See `Locate options` for more details.

0 commit comments

Comments
 (0)