ocsidlab / treemap

Simple tree mapping app for Bengaluru
https://ocsidlab.github.io/treemap/
MIT License
1 stars 8 forks source link

Geolocate does not show a marker on your current location #2

Open ramyaragupathy opened 8 years ago

ramyaragupathy commented 8 years ago

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.

geolocate

cc @planemad

planemad commented 8 years ago

Tracking upstream https://github.com/mapbox/mapbox-gl-js/issues/2692

lucaswoj commented 8 years ago

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.