The blue image size is 32 x 32 pixels while the default red icon image
is 20 x 32 px.

new GIcon(G_DEFAULT_ICON) copies the default icon properties to your
custom icon. You need to adjust some more properties to blueIcon. At
least blueIcon.size.

          var blueIcon = new GIcon(G_DEFAULT_ICON);
          blueIcon.image = "images/blue.png";

See a tutorial about the subject:
http://econym.org.uk/gmap/custom.htm

Another option is to crop the image file to 20 px wide. You need an
image editor that can handle partially transparent PNG files.

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