是否有API获取位置并找到其坐标

Is there an API that takes a location and finds its coordinates?

本文关键字:坐标 位置 API 获取 是否      更新时间:2023-09-26

是否有API可以获取一个位置的名称(建筑名称、城市名称等)并在地图上找到其坐标?我看了谷歌地图api,它看起来需要你使用实际的地图。谷歌地图。我试图创建自己的地图,但使用api找到某些位置的坐标。

是的,它被称为地理编码,您可以使用Google地图APIhttp://code.google.com/apis/maps/documentation/geocoding/