Search code examples
google-mapsgoogle-maps-sdk-ios

How to get Radius of Blue Range Circle at My Location in Google Map - iOS SDK


I need to get radius of light blue range circle, so that I can send the accuracy of my location to other device. But not sure how to get range circle radius from Google Map iOS SDK.


Solution

  • The myLocation property of the GMSMapView is a CLLocation, which has a horizontalAccuracy property. This is probably what the Google Maps SDK is using to draw the circle.