The Google Maps Android app can show your location, the direction where you're looking, and update the location as you move in real time. It would be good for the JS library to feature such functionality, as a simple function call, e.g. "trackMyLocation()" would enable location tracking and would draw a dot on the map (optionally with the view orientation) and would automatically update the dot location.
The Google Maps Android app can show your location, the direction where you're looking, and update the location as you move in real time. It would be good for the JS library to feature such functionality, as a simple function call, e.g. "trackMyLocation()" would enable location tracking and would draw a dot on the map (optionally with the view orientation) and would automatically update the dot location.
Filed upstream as https://issuetracker.google.com/issues/327473324 since the functionality should be baked in the GoogleMaps JS library first.
Workaround is to implement this manually: