Thank you,

Then, based on your experience can you recommend a file format for my markers that would make them look good if I use the scale parameter? I guess the img parameter uses just raster image types - not vector images...

Right now I use png... If memory serves me well (usually it doesn't) there is a file format that allows the user to embed different sizes of a symbol in the same file (e.g. 16x16/32x32/48x48) and the rendering program can choose the size that fits best... Am I right? Or is this functionality actually done with multiple files?

Thanks,
Adrian

Christopher Schmidt wrote:
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
[email protected]
http://openlayers.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to