I try to use custom icons for the markers on my map.
It works great on FF and IE8, but IE7 only shows the default google
markers.

For creation of the Markers I use the Class LabeledMarker,
the Image is file type image/PNG.

This code is used to create the marker:

var icon = new GIcon();
icon.image = this.options.icon;
icon.iconSize = new GSize(24, 24);
icon.iconAnchor = new GPoint(12, 12);
icon.infoWindowAnchor = new GPoint(12, 0);

point = new GLatLng(this.data['geo_n'], this.data['geo_o']);

var opts = {
    icon: icon,
    clickable: false,
    labelText: 'test'
};

marker = new LabeledMarker(point, opts);
map.addOverlay(marker)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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