diff --git a/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMap.kt b/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMap.kt index d207f1e08..a22aa2208 100644 --- a/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMap.kt +++ b/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMap.kt @@ -772,6 +772,10 @@ class CapacitorGoogleMap( markerOptions.flat(marker.isFlat) markerOptions.draggable(marker.draggable) markerOptions.zIndex(marker.zIndex) + if (marker.iconAnchor != null) { + markerOptions.anchor(marker.iconAnchor!!.x, marker.iconAnchor!!.y) + } + if (!marker.iconUrl.isNullOrEmpty()) { if (this.markerIcons.contains(marker.iconUrl)) {