[OpenLayers-Users] KML with different icons for different zoom levels

Adrian Popa adrian_gh.popa at romtelecom.ro
Mon Jul 6 05:05:18 EDT 2009


Hello everyone,

I'm trying to load a KML file into a Vector overlay layer (and it worked 
so far), but because at a zoom level of 8 I will have lots of symbols on 
the map, I have to keep the symbol size small, so the symbols don't 
overlap too much. If I zoom in, my points of interest are not so crowded 
and I would like to use a different symbol (larger icon) to display them.
I don't know if KML files support this feature or if open layers can 
change icon on the fly - but any pointer in the right direction is 
appreciated!

Regards,
Adrian




More information about the Users mailing list