I have try to use mapView() function and only when I click on the marker, that choose marker will change to custom marker icon. How can I change the default marker (WITH CLUSTERING).
func mapView(_ mapView: GMSMapView, didTap marker: GMSMarker) -> Bool {
let poiItem = marker.userData as? POIItem
marker.title = poiItem?.devname
marker.snippet = poiItem?.address
marker.icon = UIImage(named: "runcar1")
return false
}
