[OpenLayers-Users] Problems using a KML file

kaka drspencer at hotmail.com
Wed May 2 14:40:42 EDT 2007


Yes, you are right. It´s working just fine now. Thank you Christopher.

Magnus




Christopher Schmidt-4 wrote:
> 
> On Wed, May 02, 2007 at 10:57:51AM -0700, kaka wrote:
>> 
>> Hi
>> I am trying to use a KML file with OpenLayers. As I understand it, there
>> is
>> basic support for KML files containing points and lines, but not ploygons
>> or
>> formatting. I have tried using a KML file containing a line (more or less
>> following parts of the European coast), but this is not correctly
>> rendered
>> using OpenLayers with FF/Opera and not at all using IE 7. Is this a known
>> issue? Have a look at
>> http://www.villageografica.com/test45/KML/kml-layer.html for a demo.
> 
> The KML parser expects that there is no seperation by spaces after the
> commas in each coordinate pair. so, data should look like:
> 
> x,y,z x,y,z
> 
> The place to improve this is lib/OpenLayers/Format/KML.js , in
> parseCoords.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-using-a-KML-file-tf3682216.html#a10292155
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list