开发者

Google maps marking path between 2 points over streets

Maybe it's not the first similar question but anyway: I'm looking for a kind of functionality to make available to mark the vehicle path across the city streets between two points in city (for example A and B), including the turns and etc. Is there some facilities? If not please offer some idea how it can be done. Will be appresiated for开发者_如何学C any help :) Hope I was clear.


You can manually construct the URLs based on the parameters that Google Maps has. You can see all the Direction parameters (and others) here.

A basic URL with a source and destination address would look like this:

http://maps.google.com/maps?f=d&hl=en&geocode=&saddr=ENTERSOURCEADDRESS&daddr=ENTERDESTINATIONADDRESS

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜