On Nov 23, 7:07 am, Frances <[email protected]> wrote:
> I have a map that works fine except that two of the custom markers are
> unclickable in Firefox.

Which 2 are unclickable?

>
> The map is at
http://www.countymarquees.com/venues.htm

Your pngfix generates a javascript error in IE6.

>
> The gicons are all set up the same way, following Mike Williams
> tutorial. The last two - castle and restaurant - just wont be clicked.
>
> I'm probably missing some really obvious and stupid error. But I just
> can't see it.

http://code.google.com/apis/maps/documentation/reference.html#GIcon.imageMap
An array of integers representing the x/y coordinates of the image map
we should use to specify the clickable part of the icon image in
browsers other than Internet Explorer.

http://code.google.com/apis/maps/documentation/reference.html#GIcon.transparent
The URL of a virtually transparent version of the foreground icon
image used to capture click events in Internet Explorer. This image
should be a 24-bit PNG version of the main icon image with 1% opacity,
but the same shape and size as the main icon.



>
>  var gicons=[];
>           gicons["house"] = new GIcon(baseIcon, "/maps/icons/houseTiny.png",
> null, "maps/icons/house_shadow.png");
>            gicons["house"].imageMap = [3,2,16,4,16,16,1,13];
>            gicons["house"].over = "houseTinyOver.png";
>
> ...more gicons...
>
>                 gicons["sports"] = new GIcon(baseIcon, 
> "/maps/icons/sports.png",
> null, "maps/icons/sports_shadow.png");
>                 gicons["sports"].imageMap = [11,-1,0,9,11,22,24,11];
>                 gicons["sports"].over = "sportsOver.png";
>
> ...problem icons...
>
>                 gicons["castle"] = new GIcon(baseIcon, 
> "/maps/icons/castle.png",
> null, "maps/icons/castle_shadow.png");
>                 gicons["castle"].imageMap = [1,1,14,14];

This looks like it is defining a line, not a polygon.

>                 gicons["castle"].over = "castleOver.png";
>                 gicons["restaurant"] = new GIcon(baseIcon, "/maps/icons/
> restaurant.png", null, "maps/icons/restaurant_shadow.png");
>                 gicons["restaurant"].imageMap = [1,1,15,14];

Same here.

>                 gicons["restaurant"].over = "restaurantOver.png";

--

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=.


Reply via email to