I have a MKAnnotation with an custom pin image. However the pin(MKAnnotationView) centers the image in relation to the specified coordinate. I want to set the point of the coordinate at the bottom center of the image, not center.
I've tried using annView.centerOffset = CGPointMake(-12, -28);
. But the problem is that centerOffset
isn't relevant to the maps zoom level.
One can do this both in the JS API and in Android. Is there any possibility to do this in objective-c?
..fredrik
annView.centerOffset = CGPointMake(0, -annView.frame.size.height / 2);
– Catafalque