在mkmaps上加载自定义图像 [英] loading custom image on mkmaps
问题描述
我想开发一个购物中心导航仪,但是我不确定从哪里开始.我想创建与此屏幕快照类似的内容- http://navigationapps.com/wp-content/uploads/2010/10/point-inside-2.png .我相信它带有针跟踪器的自定义加载地图,但是我该怎么做? (有没有我可以看的教程/示例?).此外,假设购物中心有清晰的信号,则跟踪的精确度-在几米之内?).希望对此有所帮助.谢谢.
I want to develop a mall navigator however i am unsure where to start. I want to create something similar to this screenshot - http://navigationapps.com/wp-content/uploads/2010/10/point-inside-2.png . I believe its a custom loaded map with a pin tracker on it however how can i do this? (are there any tutorials/examples i could look at?). Furthermore, assuming that the mall has a clear signal, how accurate will the tracking be - within how many meters?). Would appreciate some help on this. Thanks.
推荐答案
Recently I had to develop an app using MKMapView
using custom callouts (annotations). You won't get around subclassing MKAnnotationView
if you want to do a lot of customizations to it.
对我最有帮助的是这些教程:
What helped me most were those tutorials:
Part 2: http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-2/ (Also handles buttons inside your callout)
这篇关于在mkmaps上加载自定义图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!