How to get Icon of Google Maps marker?

With marker.getTitle() you get the title of a marker, but how can I ask for the icon? I want to ask if the icon of a marker is set to certain drawable and if so do something.


Well you can create marker with new MarkerOptions() Like this:

map.addMarker(new MarkerOptions()
            .anchor(0.0f, 1.0f) // Anchors the marker on the bottom left
            .position(new LatLng(41.889, -87.622)));

So you can simply store this data in some linked list or hash map


 ? Change marker in Google maps on Android
 ? Java Update Markers from a Google Map
 ? Image from firebase storage into google map marker
 ? Android Default Map App Issue
 ? Android Default Map App Issue
 ? Android Default Map App Issue
 ? how to set default zoom level in android google map?
 ? Alternatives to google maps api
 ? How do I set default location and Zoom level for google map api v2?
 ? How to get next turning point from google map - (Android)