You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there. First of all thanks a lot for a great library.
This is not a issue per say but a feature request ... I found no way of specifying.
I came across a situation in which i have to resize the circle in regard to gps accuracy... I think there should be a way to be able to update the radius (it shouldn't be hardcoded).
My problem is that i'm using this with a MKCircle and I can't make the two radiouses to coincide. How would you recommend i do this?
I'm using the following to get the current zoom level:
Hey there. First of all thanks a lot for a great library.
This is not a issue per say but a feature request ... I found no way of specifying.
I came across a situation in which i have to resize the circle in regard to gps accuracy... I think there should be a way to be able to update the radius (it shouldn't be hardcoded).
My problem is that i'm using this with a MKCircle and I can't make the two radiouses to coincide. How would you recommend i do this?
I'm using the following to get the current zoom level:
define MERCATOR_RADIUS 85445659.44705395
define MAX_GOOGLE_LEVELS 20
{
CLLocationDegrees longitudeDelta = mapView.region.span.longitudeDelta;
CGFloat mapWidthInPixels = mapView.frame.size.width;
double zoomScale = longitudeDelta * MERCATOR_RADIUS * M_PI / (180.0 * mapWidthInPixels);
double zoomer = zoomScale;
if ( zoomer < 0 ) zoomer = 0;
return zoomer;
}
The text was updated successfully, but these errors were encountered: