Search code examples
iosobjective-cgmsmapview

How can create geofence in GMSMapView?


I want to create and monitor Geofence using GMSMapview (GoogleMaps) in iOS objective c. But after doing R & D so far, I noticed that GMSMapView does not providing any APIs and Framework to implement Geofence in iOS, I can't believe in this. It's available in Android also. Based on my research, Geofence is possible to implement using CoreLocation. But I want to implement using GMSMapView.

Does GoogleMap provide Geofence for iOS Platform?

Thanks in advance


Solution

  • Geofences feature is a capability of CLLocationManager not MKMapView or GMSMapView, maps are designed only for showing data on, geofences are represented as a circle in GMSMapView is GMSCircle and in MKMapView is MKCircle