开发者

Web Map API needed for displaying multiple locations to user

开发者 https://www.devze.com 2022-12-18 23:40 出处:网络
What is a good map API that can display not just a static image, but the ability for the user to interact, zoom in and out. Additionally, what is a map API that can accept a street address and not a g

What is a good map API that can display not just a static image, but the ability for the user to interact, zoom in and out. Additionally, what is a map API that can accept a street address and not a geo code?

update: Is it possible to get driving directions from an embedded map API? Such that the user can click onto a node and bring up a "where are you driving fro开发者_如何学Gom?" prompt.


The google maps API would work well and you might also want to look into ESRI's web mappings APIs (JavaScript, Silverlight and Flex versions available).

Regarding the address, all web mapping APIs are going to make you geocode an address to get a point on the map. This is trivial to do. All of the APIs I've mentioned provide a function to do this and you just have to handle a result.


Although I'm a big fan of Google Maps, to be different, I'll suggest OpenStreetMap. I haven't used it in any projects, but it looks quite promising.

OpenStreetMap also has a geocoding function, similar to Google Maps.

0

精彩评论

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

关注公众号