Try using the transparent png version of that image:
http://maps.google.it//mapfiles/ms/micons/police.png
You're currently using
http://maps.google.it//mapfiles/ms/micons/police.white.png
which has a white background (probably used for the My Maps sidebar).
Also, this isn't going to work:
icon.imageMap =
'http://maps.google.it//mapfiles/ms/micons/police.white.png';
because imageMap needs to be an array of numbers.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---