On Nov 17, 9:52 pm, "So Close Now......." <[EMAIL PROTECTED]>
wrote:
> Okay, I know I am going to hear about posting this question, about how
> it's not a map question, but it is, because the map dynamically
> declares the latlng position. SO, that being said, I am creating a map
> like the one found here:
>
> http://code.google.com/apis/maps/articles/phpsqlinfo.html
>
> And, since I had such a hard time trying to figure out how to do it, I
> changed the form from a (onClick SaveData) form, to a plain ole'
> Submit POST form. Which works great EXCEPT, the map declares the
> variables for LAT & LNG when you click on it, and I need to insert
> them into the <form> as a type='hidden' Text Field. So, I don't now
> anything about JavaScript, really. How can I do THIS:
>
> (sorry, someone told me not to post code here, but how else can I show
> you what I'm doing?)
>
> <input name="somename" type="hidden" value="the LAT or LNG variable
> declared">
>
> var latlng = marker.getLatLng();
>       var lat = latlng.lat();
>       var lng = latlng.lng();
>
> ALL I WANT TO DO is insert the variables into the value section of the
> text form. THAT'S IT. Is it possible? I have looked up plenty of
> tutorials and what not, and cannot find the solution. I would hard
> code it, but the MARKER sets each one dynamically, of course, so, once
> it is declared, I need to set it inside the Text Input.
>
> Can anyone help me? Please?

Where is the link to _your_ map?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to