On Sep 5, 5:27 am, ss ss <[email protected]> wrote: > Dear Larry, > As per advice now I have define is below but the icon is > still not appearing either too. What else is my mistake ya. Thank you. >
I said: + Do new GIcon(); and completely define the icon per the documentation. + This page from Mike Williams' tutorial should also help: + http://econym.org.uk/gmap/custom.htm You haven't defined the icons completely. -- Larry > > On Sun, Sep 5, 2010 at 3:42 AM, [email protected] > <[email protected]>wrote: > > > > > On Sep 4, 3:26 pm, ss ss <[email protected]> wrote: > > > Dear Larry, > > > I prefer to go with the first link of the google map > > > documentation. > > > That is your choice. Mike's tutorial has a lot of useful information > > that didn't make it into the documentation. > > > > I am confuse how to add now in this function > > > v1icons[indexIcons]= new GIcon(G_DEFAULT_ICON, > > > "vehicleIcons/1-0"+i+".png"); the size property? > > > As I said below use GIcon() (don't give the constructor any arguments, > > don't use G_DEFAULT_ICON, don't include the image URL). Then define > > all the properties listed in the documentation. > > > Good luck. > > -- Larry > > > > I want the size property > > > to be in when it goes into the array. Thank you. > > > > On Sun, Sep 5, 2010 at 3:12 AM, [email protected] > > > <[email protected]>wrote: > > > > > 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/referenc. > > .. > > > > > 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]<google-maps-api%2Bunsubscribe@ > > > > googlegroups.com> > > <google-maps-api%2Bunsubscribe@ googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-maps-api?hl=en. > > > -- > > 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]<google-maps-api%2Bunsubscribe@ > > googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-api?hl=en. -- 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.
