I have a mapping where I may have 50 - 100 markers on a map. I want
ONE specific one to be "on top" of all the others.

I used this code (JavaScript).

        function createMarker(point,address) {
                   var customIcon = new GIcon(G_DEFAULT_ICON);
                   customIcon.image = "markers/green_marker.png";
                   markerOption = { icon:customIcon, zindex:1000 };
           var marker = new GMarker(point, markerOption);
           GEvent.addListener(marker, "click",
                function() {
                    marker.openInfoWindowHtml("<b>"+address);
                });
           return marker;
        }//end of function createMarker

It did nothing.

How do I make that happen?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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