dynamic counter ok

This commit is contained in:
asus
2023-11-11 13:01:43 +01:00
parent 6e460f5347
commit 99aeaa82b0
7 changed files with 179 additions and 70 deletions

View File

@@ -34,11 +34,9 @@ function mp_get_coordinates($id) {
. '?language=fr'
. '&address=' . urlencode($address)
. '&key=' . $mp_api_key_geo;
//mp_console_log("geolocation:");
//mp_console_log($geolocation);
//mp_console_log("geolocation: " . $geolocation);
$jsoncontent = file_get_contents($geolocation);
mp_console_log("jsoncontent:");
mp_console_log($jsoncontent);
//mp_console_log("jsoncontent: " . $jsoncontent);
// extract coordinates from json
// https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types