Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我目前在新加坡,我想从数据库中检索商店的地址,并想向用户显示商店名称(在当前位置附近)。我应该使用哪个 API?
PS。我的应用程序是带有 Struts 和 Spring 框架的 Java EE。
http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation
它帮助了我正是我想要的:)
使用谷歌地图 API:
http://developers.google.com/maps/