开发者

iOS MapView or just nor UIView when dealing with static map image

I have an image of a mall l开发者_开发知识库ayout and want to know if it is better to use the MapView or just plain old ImageView? All I want to do is display this image and place some markers on it. There is no need to geocode etc.. What should I use?


Since you can't replace the map tiles of MKMapView with your own graphics, it isn't really an option in your case. A plain image view is fine as long as your map does not need zooming and isn't very large (in pixel dimensions). If it is, tiling the map image and using CATiledLayer (what MKMapView uses internally) might be the correct choice.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜