本文介绍了您如何为地图上的点之间的路线提供路线?丢失的是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

借助iOS 6,地图应用即将删除Google地图。 Google Maps SDK的条款规定,如果您使用其服务绘制路线,则必须在地图上显示。由于这将不再是这种情况,我需要探索其他选项以获取路线并在地图上显示路线。

With iOS 6 the Maps app is dropping Google Maps. The terms of the Google Maps SDK states that if you plot directions with their service you must show it on their map. Since this will no longer be the case I need to explore other options to get directions and display routes on a map.

我发现MapQuest和诺基亚都提供API提供方向和路由服务。

I have found that MapQuest and Nokia each offer an API to provide direction and routing services.


  1. MapQuest -

  2. 诺基亚 -

  1. MapQuest - http://open.mapquestapi.com/directions/
  2. Nokia - http://api.maps.nokia.com/en/apireference/2.2.0/symbols/nokia.maps.routing.html

我还看到OpenStreetMap有一个在线路由服务列表,对不同位置提供不同级别的支持有些处于释前状态。

I also see OpenStreetMap has a list of online routing services with varying levels of support for various locations and some are in pre-release state.

在我之前我没有做过多少路由您希望找到涵盖基础知识的绘图软件的入门读物。我有一个很大的问题是路线中的曲线。我只知道地图的坐标。我不知道如何定义沿曲线的路线,除非这意味着使用大量坐标来绘制曲线。我会对如何处理曲线做一些解释。道路以及人行道和步行道等已知路线的选择将是理想的选择。关于沿着已知路线绘制方向的基本入门将是最有帮助的。

I have not done much with routing before I would like to find a primer on mapping software that covers the basics. A big question I have is for curves in routes. I only know about coordinates for maps. I am not aware of a way to define a route along a curve, unless that means using a lot of coordinates to draw the curve. I'd appreciation some explanation of what to do for curves. An option for known routes such as roads as well as sidewalks and walking paths would be ideal. A basic primer on plotting directions along known routes would be most helpful.

所有帮助表示赞赏。我知道很多为iOS 6准备应用程序的开发人员会研究方向和路线的服务,我希望通过这个问题收集的信息将有助于为他们提供一个起点。

All help is appreciated. I know lots of developers preparing apps for iOS 6 will be looking into services for directions and routes and I hope the information gathered with this question will help provide a starting point for them.

推荐答案

包含路由功能。值得一看?

The MapQuest iOS Maps API includes routing functionality. It might be worth a look?

MapQuest还提供了(支持移动设备)和(使用Flex SDK创建本机iOS和Android应用程序),它们本质上是核心的包装,包括您已提及的路线服务。

MapQuest also offers a JavaScript API (which supports mobile devices) and Mobile Flash API (using the Flex SDK to create native iOS and Android apps) as well, which are essentially wrappers for the core MapQuest Web Services, including the Directions service that you already mentioned.

希望这有用!

这篇关于您如何为地图上的点之间的路线提供路线?丢失的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 22:08