I was able to get the marker changing on mouseover. In #2, I guess I was asking if it was possible to specify just one point to be displayed at that level, so when I have 10-15 points, they don't overlap each other and look weird (since the map automatically zooms into that area).
I may try posting on some JQuery forums for help with #4. Thanks again for the help. On Apr 4, 5:20 am, Rossko <[email protected]> wrote: > > 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? > > Not really. It's the marker you want the mouseout event of, not the > map. > > > 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? > > I'm not really sure what you mean here. > At the moment, you do > map.setCenter(new GLatLng(41.3082,-82.9282), 7); > window.setTimeout(function() { map.setCenter(new > GLatLng(41.3082,-82.9282), 15);}, 2000); > at the trivial level you could just do > map.setCenter(new GLatLng(41.3082,-82.9282), 15); > > > 3. Is it possible to change the marker icon on mouseover? > > Yes ; .setImage() will be > usefulhttp://code.google.com/apis/maps/documentation/reference.html#GMarker... > > > 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? > > No ; you've already done as much commonality as you can i.e. build > just one GIcon object of each flavour and re-use it. But every > GMarker somehows needs individually telling which GIcon to use. > If/when you set up a createMarker function of your own, you can have > it use a default GIcon of your choice, and set up mouseovers to use > some other default GIcon of your choice. > > > 4. I am trying to add a listener for marker click that triggers the > > horizontal accordion below the map..... > > GEvent.addListener(marker, 'click', function(){ > > $('#test3Handle0').click(); > > $('#test3Handle0') is some kind of Jquery reference. I know nothing > about Jquery, such as if it's objects have .click() methods or what > that might do. Nothing to do with maps API. -- 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.
