Closed behenate closed 2 years ago
except for some compatibility issues
Feature | Google Maps - Android | Google Maps- iOS | Apple Maps |
---|---|---|---|
onMapPress | ✅ | ✅ | ✅ |
onDoublePress | ❌ | ❌ | ✅ |
onLongPress | ✅ | ✅ | ✅ |
onRegionChange | ✅ | ✅ | ✅ |
onRegionChangeStarted | ✅ | ✅ | ✅ |
onRegionChangeComplete | ✅ | ✅ | ✅ |
onMapLoaded | ✅ | ✅ | ✅ |
onMarkerPress | ✅ | ✅ | ✅ |
onMarkerDrag | ✅ | ✅ | ✅ |
onMarkerDragStarted | ✅ | ✅ | ✅ |
onMarkerDragComplete | ✅ | ✅ | ✅ |
onLocationButtonPress | ✅ | ✅ | ✅ |
onLocationDotPress | ✅ | ❌ func mapView(_ mapView: GMSMapView, didTapMyLocation location: CLLocationCoordinate2D) doesn’t get called for some reason |
✅ |
onPoiClick | ✅ | ✅ | ❌ (POIs rendered on canvas, currently impossible to detect a press) |
onClusterPress | ✅ | ✅ | ✅ |
onLocationChange | ✅ | ✅ | ✅ |
Added following callbacks:
some of the callbacks weren't possible to implement (for now) due to platform differences
func mapView(_ mapView: GMSMapView, didTapMyLocation location: CLLocationCoordinate2D)
doesn’t get called for some reasonOther changes
https://i.imgur.com/Q7H6KM2.mp4