Hi guys,

I am trying to use custom markers for a small pet ptoject of mine. The
markers I've set work fine in both MSIE and Chrome, but unfortunately,
this is not the case for Firefox in any incarnation I tried (as in:
0.9, 2.0 and 3.0). It seems they are clickable in a small area (about
20 px wide and 40 px high), but not outside of this area, even tough
the my markers are generally 48x48 px large...

Relevant parts of my code:
-----------------------
var latlng = new GLatLng(lat,lng);
var myIcon = new GIcon(baseIcon);
myIcon.iconSize = new GSize(48,48);
myIcon.iconAnchor = new GPoint(24,48);
myIcon.image  = "/img/marker/std.png";
myIcon.shadow = "/img/marker/shadow.png";
myIcon.shadowSize = new GSize(73,48);
myIcon.infoShadowAnchor = new GPoint(27,47);

var markerOptions = { icon:myIcon };
var myMarker = new GMarker(latlng, markerOptions);

GEvent.addListener(myMarker, "click", function(stuff) {
getDescription(stuff)
});

map.addOverlay(myMarker);

-----------------------

Any ideas how to make markers clickable in their entirety?

Greetings

Martin

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