Other Map Function
In this page, it includes the HTML source
code and the display of
'How to use Google Map Platform with google API Key or Latitude,Longitude and etc'.
Code:
Google Map Link by Latitude and Longitude
Example: https://www.google.com/maps/search/?api=1&query=4.607674634974976, 101.1199527444295
"https://www.google.com/maps/search/?api=1&query=" + latitude + "%2C" + longitude;
Google Map Link by Place ID
Example: https://www.google.com/maps/place/?q=place_id:ChIJK_gCFB7tyjERqk2pakdIUXM
"https://www.google.com/maps/place/?q=place_id:" + place_id;
Google Map Street View with Map API Key
https://maps.googleapis.com/maps/api/streetview?size=400x400&location=" + latitude + "," + longitude + "&fov=80&heading=70&pitch=0&key= YOUR_API_KEY_AT_HERE ;
Google Map Static View with Map API Key
https://maps.googleapis.com/maps/api/staticmap?center=" + latitude + "," + longitude + "&zoom=12&size=500x270&key= YOUR_API_KEY_AT_HERE ;
Map Embeded
By Place ID
< iframe src=https://www.google.com/maps/embed/v1/place?key=YOUR_API_KEY_AT_HERE&q=place_id:GhIJnRmz2x0UTUARfiaxWk8zHMA' width='400' height='300' style='border:0;' allowfullscreen='' loading='lazy' referrerpolicy='no-referrer-when-downgrade'
< /iframe>
By Latitude and Longitude
< iframe src='https://maps.google.com/maps?q=58.1571612, -7.0501074&hl=es;z=14&output=embed' width='400' height='300' style='border:0;' allowfullscreen='' loading='lazy' referrerpolicy='no-referrer-when-downgrade'
< /iframe>