开发者

Pin images change after map type change?

开发者 https://www.devze.com 2023-03-14 06:45 出处:网络
I am just loading a simple map with customize pin images on pin annotations开发者_如何学C. First time it loads the pin images in map correctly. When i change map type the pins are change in their defa

I am just loading a simple map with customize pin images on pin annotations开发者_如何学C. First time it loads the pin images in map correctly. When i change map type the pins are change in their default format.Guys do you have any idea about this problem. Any help will be appreciated.Thanks in advance..


In viewForAnnotation, make sure you are creating a plain MKAnnotationView and not an MKPinAnnotationView.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号