In my application we show callout on the marker now i need to show that Graphics at the center of the map. Is there any method to do it or need to used viewPoint Method of AGSMapView?
And callout window display glitch animation when it open and user start dragging map. Is there any way to stop it?
Hi Chirag,
To center the map on the marker, yes, you should use the setViewpointCenter:completion:() method on AGSMapView and display the callout in the completion block to the above method. Since this is a point graphic, you can pass in the graphic's geometry. That'll animate the map view to put the marker in the center.
Could you provide more information on the callout display glitch please? Does it happen on both the simulator and the device? I'll try it out here to see if it's something obvious but would be helpful to get more details.
Cheers,
Nick.