Tracy Harton
Tracy Harton
projectedLocation is never set in RMCircle (or RMMapLayer), but is in the associated annotation, so using that works. Radians are correct (for C cos()) CGFloat latRadians = [[mapView projection] projectedPointToCoordinate:annotation.projectedLocation].latitude...
The max/min zoom are also incorrect on mapView:initWith...Source. You have to reset them immediately afterwards.
The map minZoom/maxZoom are separate from the tilesource minZoom/maxZoom. Atleast that's the way it used to work in route-me, which I'd say is preferable as you may want to allow...
I still consider resetting the min/max zoom incorrect, and it breaks from the route-me behavior. The was some discussion about it years ago, and was eventually fixed... The tile source...