there is a map with a marker, and the docker don't generate a new certificate all the time

This commit is contained in:
lenovo
2022-10-29 17:11:25 +02:00
parent 40963ce3cb
commit 4dca5a4760
15 changed files with 129 additions and 106 deletions

View File

@@ -0,0 +1 @@
/home/www-data//google_map

View File

@@ -56,6 +56,7 @@ function my_init_script() {
wp_enqueue_script('my_script', $script_path, array('jquery'));
$style_path = plugins_url('style.css', __FILE__);
wp_enqueue_style('my_style', $style_path);
console_log("urlencode : " . urlencode("128 rue de la croix nivert, paris"));
}
function show_google_map() {
@@ -65,7 +66,7 @@ function show_google_map() {
$GoogleMap_zoom = get_option('map_zoom_value');
//src="https://maps.googleapis.com/maps/api/geocode/json?address=paris&key=AIzaSyCvdGV2ssD4ov4a9CuIlQhoJyz5gWWiSvE
?>
<script async defer
<script
src="http://maps.googleapis.com/maps/api/js?&sensor=false?&key=AIzaSyCvdGV2ssD4ov4a9CuIlQhoJyz5gWWiSvE">
</script>
<div class="latitude"><?php echo $GoogleMap_Latitude; ?></div>