[OpenLayers-Users] What image types are supported as icons served through KML?

Christopher Schmidt crschmidt at metacarta.com
Mon Nov 9 09:32:48 EST 2009


On Mon, Nov 09, 2009 at 04:26:30PM +0200, Adrian Popa wrote:
> Hello everyone,
> 
> I just want to know - what image types are supported to be imported 
> through KML? I would like to convert my icons from PNG to SVG (which 
> looks better when scaled) - but I'm not sure if it will work.

I don't believe KML, as a format, allows SVG markers... does it?

In any case, OpenLayers would not be able to render anything other than
a standard image (something you can put in an <img> tag) as an externalGraphic,
which is how KML files with icons are parsed.

-- Chris

> Is the limitation based only on browser type (and what it can render)? 
> Or are there other limitations I should know about?
> 
> Thanks,
> Adrian
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list