Hello,

sorry if this is an obvious question, but I have not found an answer
after an extensive online search and the google maps v3 documentation
also does not seem to cover this issue, so I deemed it a question
worth asking.

I am in the process of porting our existing google maps applications
from version 2 to version 3.
The version 2 app is located at http://www.sandbag.org.uk/maps/emissionsmap/
The version 3 app is located at http://www.sandbag.org.uk/maps/emissionsmap_v3/

In our v2 app we had a bunch of custom controls for controlling what
data gets loaded onto the map. We used jquery ID selectors to monitor
for the select box "change" events and load the appropriate data using
the ajax() function depending on the select boxes value (again
accessed using jquery ID selectors).

Similarly, we dynamically populate the content of a "control" (which
is actually an info box summarising the data that is currently loaded
- located in the bottom right corner) by manipulating elements that
have been selected using jquery ID selectors.

When I convert the v2 GControls to standard DIV elements for v3, this
no longer works.

I am not able to access the elements inside the control DIV element
using jquery ID selectors or the standard document.getElementById
function. Note, that I am able to attach a google maps DOM event
listener to the variable that creates the control DIV element, but not
to any of the elements inside that control DIV element.

How come the elements inside the control DIV elements are not
accessible via their ID tags?

If they are not accessible because they are in a separate name space,
is there any way to attach google maps DOM event listeners to monitor
change or click events for select boxes inside custom controls?

Thanks for any help.

Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to