Hi,
I found a
map demo that does almost exactly what I am hoping for; it allows you to click and drag OR input an address and it populates the lat/lng in a div. The demo is perfect, but I would like to achieve one additional thing: rather than the coordinates populating a div, I'd like them to populate an input.
I did try changing the id of the input to match that of the div (and removed the div,) but honestly, that was just a random guess on how to proceed with it. I'm more of a PHP guy and used to having to do all the processing beforehand, rather than in the DOM.
Is there a simple solution to this?
Thanks so much for any insight.
Mike