I am using google map and added several custom markers.
My problem is when i rotate my map using fingers, my markers are also rotated.
Can any one give me suggestion, how can i prevent rotation for markers?
Thanks in advance.
I found answer my self and posting answer so it can help to others.
Just set marker's flat property to false will prevent rotation of marker.
MY_MARKER = mMap.addMarker(new MarkerOptions()
.flat(false)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With