要求用php语言分别得到Point坐标值:$lat=\'-122.0828900\';$lng=\'37.4220827\';json数据如下,{\"name\":\"1600AmphitheatreParkway,MountainView,CA\",\"Status\":{\"code\":200,\"request\":\"geocode\"},\"Placemark\":[{\"id\":\"p1\",\"address\":\"1600AmphitheatrePkwy,芒廷维尤,加利福尼亚州94043,美国\",\"AddressDetails\":{\"Accuracy\":8,\"Country\":{\"AdministrativeArea\":{\"AdministrativeAreaName\":\"CA\",\"Locality\":{\"LocalityName\":\"MountainView\",\"PostalCode\":{\"PostalCodeNumber\":\"94043\"},\"Thoroughfare\":{\"ThoroughfareName\":\"1600AmphitheatrePkwy\"}}},\"CountryName\":\"USA\",\"CountryNameCode\":\"US\"}},\"ExtendedData\":{\"LatLonBox\":{\"north\":37.4234317,\"south\":37.4207337,\"east\":-122.0815410,\"west\":-122.0842390}},\"Point\":{\"coordinates\":[-122.0828900,37.4220827,0]}}]}
|