Lets say http://icons.iconarchive.com/icons/deleket/halloween-avatars/icons-390.jpg I have that image. When I give the size I get a portion of the image. I want that whole image to be compressed and seen in the maps
Am I clear in what I want to convey? Sorry if its kinda confusing. If I give new google.maps.Size(20, 32), as the size the left hand corner white portion is only getting displayed. On Oct 11, 12:25 pm, "[email protected]" <[email protected]> wrote: > On Oct 11, 9:22 am, ammu <[email protected]> wrote: > > > Thanks Rossko. I did try this but what happens is if an image has > > white space around it and it has the exact image in the center the > > white part only gets displayed. I want to show the exact image that I > > have but in a smaller size. > > > Can you please let me know if that can be done? > > Sure. If it is your custom icon, make the icon be what you want it to > be. There are image editing programs available that will allow you to > resize images, crop images, etc. If you mean there is a white > background that you want to make transparent, you need to do that with > an image editing program as well. > > -- Larry > > > > > > > > > > > On Oct 10, 12:42 pm, Rossko <[email protected]> wrote: > > > > > I am using a custom marker icon.Is there a way to compress the icon > > > > file? As it looks very huge on the maps. > > > > You can specify the Size of > > > iconshttp://code.google.com/apis/maps/documentation/javascript/overlays.ht... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
