Hi, I'm experiencing a strange problem with IE7. It just won't show the custom GIcon image for my markers. I only see the default one with the dot in the center. Code:
this.baseIcon = new GIcon(G_DEFAULT_ICON); this.baseIcon.iconSize = new GSize(20, 34); this.baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png"; this.baseIcon.iconSize = new GSize(20, 34); this.baseIcon.shadowSize = new GSize(37, 34); this.baseIcon.iconAnchor = new GPoint(9, 34); this.baseIcon.infoWindowAnchor = new GPoint(9, 2); ... var point = new GLatLng(lat, lng); var marker = this.buildMarker(point, id); ... buildMarker: function(point, id) { var letteredIcon = new GIcon(this.baseIcon); letteredIcon.image = "http://www.google.com/mapfiles/marker" + this.nextLetter + ".png"; var marker = new GMarker(point, { icon: letteredIcon }); this.nextLetter = this.nextLetter.succ(); return marker; }, Could anybody help? I really hav no idea what the problem is. I think it's essentially the same code as in the Google Maps example (which works): Kann mir da jemand helfen? Ich habe keine Ahnung warum das nicht funktioniert. Das ist letztendlich der gleiche Code wie im Beispiel unter http://code.google.com/intl/de-DE/apis/maps/documentation/examples/icon-custom.html Thanks in advance, Marco --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
