On Sep 4, 2:38 pm, ss <[email protected]> wrote:
> Dear All,
>              I am creating an array of custom icons.Below is partial
> of my code. The problem I dont know how to add the size and how to
> make sure no shadow. Earlier when I use like this v1icons[indexIcons]=
> new GIcon(G_DEFAULT_ICON, "vehicleIcons/1-0"+i+".png"); it works
> perfectly fine but I can not control the size. Any idea how to solve
> it?

Don't do that.  Do new GIcon(); and completely define the icon per the
documentation.

http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GIcon

This page from Mike Williams' tutorial should also help:
http://econym.org.uk/gmap/custom.htm

  -- Larry

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