Use Results From Google Maps, HOW?
-
Hello,
how can I use the results (“types” : [ “administrative_area_level_1”, “political” ]) I get from the Google Maps API (JSON)
https://maps.googleapis.com/maps/api/geocode/json?latlng=48.7758459,9.1829321&key=GOOGLE_MAP_API
I need this result and put it into an custom field called “PROVINCE”.
Any suggestion how I can send the URL, get the response and save the wiched data into a custom field?
update_post_meta( $post_id, 'province', $google_map_administrative_area_level_1;
Can anyone help me in this case?
Thanks so much,
Denis
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Use Results From Google Maps, HOW?’ is closed to new replies.