Hi Esa,

Thanks for the suggestion but that doesn't seem to be working. Below
is the function I'm using. Could you please be a little more specific
with where that line needs to go? Would I also need to use it
somewhere in the onLoad function?

function createMarker(latlng, msg, opt){
                        var marker = new PopupMarker(latlng, opt);

                        GEvent.addListener(marker,"click", function(){
                                marker.openInfoWindowHtml(msg);
                                marker.hidePopup();
                        });
                        GEvent.addListener(marker,"dragstart", function(){
                                marker.hidePopup();
                        });
                        GEvent.addListener(marker,"dragend", function(){
                                marker.showPopup(marker.getLatLng());
                        });
                        GEvent.addListener(marker,"mouseover", function(){
                                marker.showPopup();
                        });
                        GEvent.addListener(marker,"mouseout", function(){
                                marker.hidePopup();
                        });

                        return marker;
                }

John


On Jul 23, 7:47 pm, Esa <[email protected]> wrote:
> Try adding a line
>
> marker.hidePopup();
>
> inside your createMarker() function.
--~--~---------~--~----~------------~-------~--~----~
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