Is there a way to to enable this on my map?
All the posts that I have searched explain only how to calculate the bearing... Doesn't Google Maps API include that?
thanks!
Is there a way to to enable this on my map?
All the posts that I have searched explain only how to calculate the bearing... Doesn't Google Maps API include that?
thanks!
You can use a symbol, for example
google.maps.SymbolPath.FORWARD_CLOSED_ARROW
Then set its rotation to the heading value.
You may need to provide your own SVG file if you want the fading effect.
API here https://developers.google.com/maps/documentation/javascript/symbols