This should be possible right?
I've tried searching for this, the docs show a similar example where you can embed a map with a marker on a certain 'place', like so:
<iframe width="600" height="450" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?q=place_id:ChIJdd4hrwug2EcRmSrV3Vo6llI&key=..." allowfullscreen></iframe>
Is there a way to show the marker but using latitude and longitude instead of a place without using the js api?
Make a Google Map for the location or contact us page of your website easily with our map maker. All you need to do is insert a name for the map, add in your address and then “Copy iFrame HTML code”. Using the various map functions you can also modify the appearance of the map to your preferences.
No need for JavaScript code nor Google API key:
<iframe src="https://maps.google.com/maps?q=35.856737, 10.606619&z=15&output=embed" width="360" height="270" frameborder="0" style="border:0"></iframe>
Just replace the q
variable values with your coordinates.
Note: this doesn't allow more than one point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With