php - Getting Google Maps URL? :)
I've my own PHP script, like:
<?php <iframe width="425" height="350" frameborder="0" scrolling="no" src="' .$url .'"></iframe> ?>
As you can see it's default Google Map iframe (go to maps.google.com, type anything, then click "Link" on the right top and check code udner "Paste HTML to embed in website" to see how it looks like).
The point is I want to create user friendly input for the $url variable.
At this moment users have to go to Google website, copy the second URL from the "Link", then delete everything else and put only the src= url in the input.
Is there a way to create Google Maps search on my site that will update my input with position data after searching?
It should look like that: