Is it possible to reference an HTML element that exists inside an info 
window prior to the marker click event?  There are several markers so I 
bind the info window to the marker in a function separate from the main 
info window creation function. 

For some background I'll provide a summary of what I'm attempting to do.  
I'm mapping several observational platforms and graphing each platforms' 
environmental parameters in the google maps api  v3 info window.  See this 
link for a working example: http://bccmws.coastal.edu/LBOOS/dev_gmap.html.  

This is not the best method because:
- the JSON file containing the data is loaded into the application every 
time a table row is clicked in the info window
- requires user interaction to see a graph when the info window opens (no 
default parameter is graphed)
- the same chart properties are used for every graph which may not be a 
suitable way to display the data

Ideally, each platforms' data is loaded and graphed when gathering the 
information needed to map the position of the platform.  The problem is, 
Highcharts (the graphing library) needs a reference to the div where the 
graph will be displayed.  Setting this information prior to the marker 
click causes a reference error.  Setting the reference after the click just 
seems clunky.

Any help would be very much appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/GRUBiaFQyy0J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to