IconStyle Scale and Image Sizes

Nov 7, 2012 at 11:01 AM


In my code I add images to IconStyle with Scale = 1.

However, when I add Images of different sizes (Height and Width of the images differ) to the KMZ, doesn't matter if I make them ridiculously big, they all show the same size.

When rescaling them in Google Earth, it is obvious that the one image is bigger in resolution than the other one, but draws the same size.

Is this a bug? Or should I just use Scale to re-size my images?

Nov 18, 2012 at 7:07 PM

Sorry about the late reply. The size of an icon has no relation to the size of the source image (think this defaults to 32x32 in Google earth) so setting the scale will be the only way of changing the icon size. This is a limitation of KML unfortunately.

Hope that helps to clear things up,