Skip to content

Commit

Permalink
Updating warning message as per https://github.com/mapbox/mapbox-gl-j…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ændrew Rininsland committed Jul 9, 2018
1 parent 0376f42 commit 87b1527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/control/geolocate_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class GeolocateControl extends Evented {

_setupUI(supported: boolean) {
if (supported === false) {
warnOnce('Geolocation not supported. The Mapbox geolocate control will not be rendered.');
warnOnce('Geolocation support is not available, the GeolocateControl will not be visible.');
return;
}
this._container.addEventListener('contextmenu', (e: MouseEvent) => e.preventDefault());
Expand Down

0 comments on commit 87b1527

Please sign in to comment.