I have commissioned a program that have solved the problem in the “functions.php” the value must be changed
/* MAP EMBED FUNCTIONS
================================================== */
function map_embed($address) {
// if (!is_string($address))die("All Addresses must be passed as a string");
// $address = str_replace(" ", "+", $address); // replcae all the white space with "+" sign to match with google search pattern
// $url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address=$address";
// $response = @file_get_contents($url);
// if ($response === FALSE) {
// return "error";
// }
// $json = json_decode($response,TRUE); //generate array object from the response from the web
// if ($json['status'] === "OVER_QUERY_LIMIT") {
// return "over_limit";
// }
// if ($json['status'] === "ZERO_RESULTS") {
// return "unknown_address";
// }
// $_coords['lat'] = $json['results'][0]['geometry']['location']['lat'];
// $_coords['long'] = $json['results'][0]['geometry']['location']['lng'];
$_coords['lat'] = XX.XXXXXX;
$_coords['long'] = X.XXXXXX;
return $_coords;
}