【问题标题】:Get State from City PHP从城市 PHP 获取状态
【发布时间】:2016-12-07 13:09:51
【问题描述】:
   Is it possible to find state from city as like we can find city ,address or   
   state from zipcode or latitude longitude..??Is there any API available for  
   that. ?

实际上我想通过输入城市名称来输入州名。可能是我在这里错了,但只是想确认一下。

【问题讨论】:

  • 可以通过谷歌地图API实现

标签: php google-maps-api-3


【解决方案1】:

是的,您可以使用以下 API

http://maps.googleapis.com/maps/api/geocode/json?address=mumbai&sensor=false

在浏览器中打开它,您将看到结果集

【讨论】:

  • 感谢巴瓦纳。我只想要这个。
猜你喜欢
  • 1970-01-01
  • 2010-11-09
  • 1970-01-01
  • 2017-11-25
  • 1970-01-01
  • 2018-10-12
  • 1970-01-01
  • 1970-01-01
  • 2018-10-14
相关资源
最近更新 更多