我试过苹果开发示例项目不会产生KML
http://developer.apple.com/library/ios/#samplecode/KMLViewer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010046谷歌地图KML输出通过目的地或谷歌的方向API与MKMapkit
它的做工精细的URL也即http://maps.google.com/maps?saddr=source&daddr=destination&output=kml
但谷歌API输出正常,如果我的网址添加到目的地像 http://maps.google.com/maps?saddr=source&daddr=destination1%20to:destination2&output=kml
它产生的KML仅为DESTINATION1
而URL
http://maps.google.com/maps?saddr=29.94,76.81&daddr=29.97,76.89%20to:30.38,76.77
http://maps.google.com/maps?saddr=29.94,76.81&daddr=30.38,76.77
显示正确的方向
任何想法如何产生正确的KML输出
或者使用谷歌的方向API显示MKMapkit路径中的任何很好的例子
我已经给出了使用kml链接的苹果示例代码,请查看它的自述文件documne它提及使用参数输出= kml –
任何使用Google Direction API的示例 –