开发者

Iphone Mapkit : displaying a image on a map

I spent the evening trying to get a simple UIImage on a map. I seen 2 Apple samples and one on github but they seem overly complex (one uses the Three20 network) and 2 out of 3 dont work in xcode 4. Also one uses a bin file as its source.

Has anyone got a simple demo of a single image placed on a map. I been looking at MKOverlay and MKOverlayView.

I been trying to f开发者_高级运维ollow iPhone MapKit: Custom MKPolygonView with image draws upside down


I'd use a traditional MKAnnotationView and set the image property. This is the right approach if the image should not be scaled when the mapView is scaled.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜