Dear all,
I am working with a set of GMarkers that have a double tabbed info
window that
contain two forms. One of the fields of the form is the position of
the GMarker.
I would like to allow the marker to be draggable. So If it's dragged,
the field in
its tab update the content with the new position.
I thought I could do this:
GEvent.addListener(marks[marks.length - 1], 'dragend', dragEnd);
...
function dragEnd()
{
var tagGeneral = this.getTabs()[0]; // <-- of course this doesn't
exists
tagGeneral.getElementById('latlng').value = "(" +
this.getPoint().lat() + "," + this.getPoint().lng() + ")";
tagGeneral.getElementById('lat').value = this.getPoint().lat();
tagGeneral.getElementById('lng').value = this.getPoint().lng();
}
The thing is I am unable to find a function that returns the html of a
tab given a marker.
I've been digging in the internet looking for answers but I've found
nothing at all. Is there any function that returns the HTML contained
in a tab in a marker? Should I use any other way to do this?
Thanks in advaces guys :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---