自定义“标注"用于MKPolyline [英] Custom "Callouts" for MKPolyline

查看:126
本文介绍了自定义“标注"用于MKPolyline的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,可以在地图上将路线显示为MKPolyline.我进行了搜索,但找不到与Apple在ios6地图上一样显示如何显示自定义MKPolyline标注的示例代码:

I have an app to which I display routes on a map as MKPolyline. I made my search but I was unable to find a sample code on how to display custom MKPolyline callouts as Apple does on the ios6 maps:

有什么可以帮助我吗?预先谢谢你..

Can some help me? Thank you in advance..

推荐答案

这似乎是目前的最终解决方案 http://navarra.ca/?p=786

This appears to be The definive solution at the moment http://navarra.ca/?p=786

此问题在MKMapView上绘制路线

这篇关于自定义“标注"用于MKPolyline的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆