Skip to content

Commit 71fa06e

Browse files
Update comments.
1 parent 892de74 commit 71fa06e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ async function fetchModelData() {
1616

1717
// Function to locate the user and center the map
1818
function locateUser(controlBtn) {
19-
// Try to locate the user using Geolocation API
20-
// Will fire either "locationfound" or "locationerror"
19+
// Try to locate the user using Geolocation API. Will fire either "locationfound" or "locationerror".
2120
leafletMap.locate({
2221
setView: true,
2322
maxZoom: 14,

0 commit comments

Comments
 (0)