I am using google map api for displaying markers and information
window for marker.
My javascript code is :
function plot()
{
var point = new GLatLng(parseFloat(19.954204),parseFloat
(73.730673));
map.addOverlay(createMarker(point));
}
function createMarker(latlng)
{
var marker = new GMarker(latlng);
GEvent.addListener(marker,"mouseover", function(){
var myHtml = "marker 1";
map.openInfoWindowHtml(latlng, myHtml);});
GEvent.addListener(marker,"mouseout", function(){
map.closeInfoWindow();});
return marker;
}
Marker gets display on the map and when i keep mouse pointer over the
marker, infowindow successfully gets display above the marker. This
works fine in internet explorer.
But in mozilla, there is no problem with marker, when i keep mouse
over the marker infowindow does not steady, it gets display only for
split seconds. But in internet explorer i can clearly see infowindow
for marker on the map.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---