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?

            var v1icons = [];
            var v2icons = [];
            var v3icons = [];
            var v4icons = [];
            var v5icons = [];
            var v6icons = [];
 for(var i=0; i<360 ; i=i+10)
                  {
                        if(i<100)
                        {
                                if(i==0)
                                {

                          var icon1 = new GIcon("vehicleIcons/1-00"+i+".png");
                var icon2 = new GIcon("vehicleIcons/2-00"+i+".png");
                var icon3 = new GIcon("vehicleIcons/3-00"+i+".png");
                var icon4 = new GIcon("vehicleIcons/4-00"+i+".png");
                var icon5 = new GIcon("vehicleIcons/5-00"+i+".png");
                var icon6 = new GIcon("vehicleIcons/6-00"+i+".png");

                          icon1.iconSize = new GSize(40, 40);
                                v1icons[indexIcons]= icon1;

                          icon2.iconSize = new GSize(40, 40);
                                v2icons[indexIcons]= icon2;

                    icon3.iconSize = new GSize(40, 40);
                                v3icons[indexIcons]= icon3;


                          icon4.iconSize = new GSize(40, 40);
                                v4icons[indexIcons]= icon4;


                          icon5.iconSize = new GSize(40, 40);
                                v5icons[indexIcons]= icon5;


                          icon6.iconSize = new GSize(40, 40);
                                v6icons[indexIcons]= icon6;


                            }
                       }

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