I am working on a map and am trying to get it to do a few things, and
would appreciate any help in adding these features/streamlining the
code. I am not very good with Javascript, so I have grabbed pieces and
assembled them to get this map working.

Map: http://vincent-massaro.com/map

1. I have a listener to close each ExtInfoWindow on mouseout. Is there
a way to declare this once for the entire map instead of for each
ExtInfoWindow?

2. The initial zoom level appears, and then I have it set to zoom in
after 2 seconds. Is there a way to display one marker at the initial
zoom level, so when I have many markers, they won't all look
overlapping?

3. Is it possible to change the marker icon on mouseover? I've
declared two icons, and would like to change to the orange one on
mouseover. Is it possible to declare these two things once for the map
as well (instead of on each marker), as all points will use the same
base icon and mouseover icon?

4. I am trying to add a listener for marker click that triggers the
horizontal accordion below the map. You can see from the buttons above
the accordion, they have onclick events that trigger the accordion
with Jquery. Adding this does not seem to do anything when the marker
is clicked:

GEvent.addListener(marker, 'click', function(){
                        $('#test3Handle0').click();
                });

Thanks in advance!

-- 
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