You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/map/ext/Map.Geolocation.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ L.Map.include({
20
20
// event with location data on success or a [`locationerror`](#map-locationerror) event on failure,
21
21
// and optionally sets the map view to the user's location with respect to
22
22
// detection accuracy (or to the world view if geolocation failed).
23
+
// Note that, if your page doesn't use HTTPS, this method will fail in
24
+
// modern browsers ([Chrome 50 and newer](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins))
0 commit comments