Open ramyaragupathy opened 8 years ago
Tracking upstream https://github.com/mapbox/mapbox-gl-js/issues/2692
Just commented on the upstream issue. The Geocoder
control is intended to be more general and more flexible, to the point that it could be used without a map. I suggest implementing this behaviour downstream. We plan to amend the GL JS geocoder example to demonstrate how this can be done.
Though geolocate pans the map to the user's current location, it doesn't pinpoint exactly where the user is located. A marker dropped at the current location would help here.
cc @planemad