I need to marker in visible are of the map for that i need radius from center point and one more thing how we know that map region has changed? I am using 100.0 SDK
Old SDK method
<SPAN class="">func mapViewDidLoad(mapView: AGSMapView!)</SPAN> { <SPAN class="">//register for pan notifications</SPAN> <SPAN class="">NSNotificationCenter</SPAN>.defaultCenter().addObserver(<SPAN class="">self</SPAN>, selector: <SPAN class="">"respondToEnvChange:"</SPAN>, name: <SPAN class="">AGSMapViewDidEndPanningNotification</SPAN>, object: <SPAN class="">nil</SPAN>) <SPAN class="">//register for zoom notifications</SPAN> <SPAN class="">NSNotificationCenter</SPAN>.defaultCenter().addObserver(<SPAN class="">self</SPAN>, selector: <SPAN class="">"respondToEnvChange:"</SPAN>, name: <SPAN class="">AGSMapViewDidEndZoomingNotification</SPAN>, object: <SPAN class="">nil</SPAN>) ... } <SPAN class="">// The method that should be called when the notification arises</SPAN> <SPAN class="">func respondToEnvChange(notification:NSNotification)</SPAN> { <SPAN class="">//create the string containing the new map extent NSString*</SPAN> <SPAN class="">let</SPAN> theString = <SPAN class="">"xmin = \(mapView.visibleAreaEnvelope.xmin), \nymin = \(mapView.visibleAreaEnvelope.ymin), \nxmax = \(mapView.visibleAreaEnvelope.xmax), \nymax = \(mapView.visibleAreaEnvelope.ymax)"</SPAN> <SPAN class="">//display the new map extent in a simple alert</SPAN> <SPAN class="">NSLog</SPAN>(<SPAN class="">"The visible extent = %@"</SPAN>, theString) }