谷歌地图iframe参数

时间:2013-01-22 11:31:24

标签: javascript google-maps

这是我第一次使用谷歌地图iframe,我迷失了这些参数geocode , fll , fspn , st , rq , ll , spn

所有这些参数应该与纬度和经度相等..我有json数组检索我的数据位置但我丢失了哪些数据应该发送到每个参数:(

results->geometry->bounds->northeast->lat
results->geometry->bounds->northeast->lng

results->geometry->bounds->southwest->lat
results->geometry->bounds->southwest->lng

results->geometry->location->lat
results->geometry->location->lng

results->geometry->viewport->northeast->lat
results->geometry->viewport->northeast->lng

results->geometry->viewport->southwest->lat
results->geometry->viewport->southwest->lng

1 个答案:

答案 0 :(得分:9)