Background
I'm working in WordPress and want to display embedded Google Maps iframes
. I have added a custom metabox in the backend to hold a text string.
Currently
I create the map link using Google Maps, and then save the entire embeddable iframe code. This adds another step to the work flow. I have to manually go to Google Maps, find the address, and save the iframe
code.
Goal
I'd prefer to just save the address and have my PHP
convert it to an iframe
. Is there a way in the Google Maps API to get an iframe
just by sending the address and possibly the place name?