alasarr
alasarr

Reputation: 1605

Gmaps issue: Huge icons rendering KML files

Today every sites that I've rendering kml files appear with huge icons for points. I'm using customized icons.

The icon's resolution is 32x32 and the icon drawn by gmaps has a size bigger than 300x300

This sites has been working fine for years and I've changed nothing.

http://mirador.dipusevilla.es/

http://tripcaddy.es/mapa

Is that a google maps issue that is comming up today?

Thanks!

Upvotes: 0

Views: 309

Answers (1)

Andrew Leach
Andrew Leach

Reputation: 12983

Looks to me like the <scale> element within <IconStyle> has been switched on. Your PNG files are quite small, but you are specifying a scale of 30 in some cases (the KML is quite dense and not easy to parse).

While in the past that would probably have been ignored, it is in the specification that the image is scaled by the factor specified in <scale>. Had it been 1 you probably wouldn't have noticed.

Upvotes: 2

Related Questions