How to provide a label / name over a place with Google Maps Embed API with coordinates in URL query string ?
I use the below code in the HTML page :
<iframe width="400" height="200" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=LATITUDE,LONGITUDE&key=map_api_key"></iframe>
It displays the Google Map with a red balloon but displays no label / text next to the balloon. How to display a label / text for the place pointed by the red balloon ?
UPDATE
Looks like a Feature Enhancement Request was submitted to Google long back but still it has not gathered enough support to get implemented.
I have starred it. Please star it if you need it too.
https://code.google.com/p/gmaps-api-issues/issues/detail?id=1612
You can probably do that using marker & infowindow using the Google Maps Javascript API v3. I attached the detailed example with sample code. It's a good start. Hope this helps.
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