My application is running fine with Firefox and I have just been
testing it with IE, Safari and Opera:
http://gpscope.dt.insu.cnrs.fr/chantiers/
A kml file is first loaded. Standard icons are used for it. While the
visitor is looking at the result, more precise information is
requested to a database by Ajax. Then dedicated markers replace the
standard ones. At this step, my dedicated icons appear with the
Firefox, IE and Safari, but not with Opera.
My javascript for the icon is the following (there is first a control
on the existence of a dedicated icon):

    markerOptions       = {icon:G_DEFAULT_ICON};
    if (iconExists){
        var monIcone                = new google.maps.Icon();
        monIcone.image              = path2icon+organisme.toUpperCase()
+'.png';
        monIcone.shadow             = path2icon+'ombre.png';
        monIcone.iconSize           = new google.maps.Size
(iconSizex,iconSizeY);
        monIcone.shadowSize         = new google.maps.Size
(iconShadowx,iconShadowY);
        monIcone.iconAnchor         = new google.maps.Point
(anchorx,anchory);
        monIcone.infoWindowAnchor   = new google.maps.Point
(anchorx-1,1);
        markerOptions = {icon:monIcone};
    }
    marqueurs[nomSite] = new google.maps.Marker
(nouveauPoint,markerOptions);

Is there anything special to add for it to work with Opera (version
9.63)?

--~--~---------~--~----~------------~-------~--~----~
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