I'm not 100% sure if I am on the right track with you on this as I'm not sure how your creating your different markers with the different images/image sizes.
Are you using the same marker and just different images with different image sizes for the marker or are they different markers entirely? I say this b/c when you create a marker and set its image size property, the image size for that marker is set, this has been like this since api v2. There was another post earlier with a similar situation to yours. After setting his other marker's image to that of the smaller image it would crop and adjust it to the size of the original marker image size. He had to refresh the map and it showed the uncropped/unresized images he wanted. If your simply having problems defining a marker's image size the icon properties have more or less been replaced in version 3 of the api. You no longer user setImage but instead use setIcon and you can pass the setIcon either a string for an image location or a MarkerImage. If you create a MarkerImage you can define the image, size, and everything else you had defined in v2 of the api in the Icon properties. On Thu, Jun 17, 2010 at 11:02 AM, PaulG <[email protected]> wrote: > My own small icons are being resized after they are defined in a kml > file. > > There is an issue open which is very similar to my point: > > http://code.google.com/p/gmaps-api-issues/issues/detail?id=2444 > > I while I get them to load as part of my kml style rules, Gmaps is > somehow resizing them. > > There exists a kml >> iconStyle >> scale which is not supported in > maps v3 according to this table: > > http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html > > a) Does anyone know of a possible work-round for this? Can I have my > 13x14 and 14x22 icons showing at the correct size? > > b) Should I mention on that issue that it is seemingly the non-support > of "scale" which is causing the problem? > > Heres some links: > > http://www.councilsites.co.uk/_kml.htm > http://www.councilsites.co.uk/_carparks.kml > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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.
