On Aug 27, 7:43 am, SDNHM_John <[EMAIL PROTECTED]> wrote:
> I create markers using this function:
>
> function makeMarker(point, message, titleNum) {
>         var myIcon = new GIcon();
>         myIcon.image = iconFile;
>         myIcon.printImage = iconFile;
>         myIcon.mozPrintImage = iconFile;
>         myIcon.transparent = "/Images/star2_trans.png";
>         myIcon.iconSize = new GSize(20,19);
>         myIcon.iconAnchor = new GPoint(10,10);
>         myIcon.infoWindowAnchor = new GPoint(14,6);
>         markerOptions = { icon:myIcon, title:titleNum };
>         infoOptions = {maxWidth:240};
>     var marker = new GMarker(point, markerOptions);
>     GEvent.addListener(marker, "click", function()
> {marker.openInfoWindowHtml(message, infoOptions);})
>     return marker;
>
> }
>
> The markers show the title on mouseover and the window on mouse click
> in both IE7 and FF. But they do not show up in IE6. In IE6 it appears
> that the markers are not even there although they display on the
> screen. Clicking on a marker in IE6 has the same effect as clicking on
> the map.
>
> web page:  BajaFlora.org/GMap/bajaPlaceNames.htm

Don't know if this is your problem or not, but you may want to use
Google's GXml.value to parse out the element values:
latitude = xmlPin[i].getElementsByTagName("Lat")
[0].childNodes[0].nodeValue
latitude = GXml.value(xmlPin[i].getElementsByTagName("Lat")
[0].childNodes[0]);

You also may want to convert the strings to numbers (parseFloat).
--~--~---------~--~----~------------~-------~--~----~
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