[OpenLayers-Dev] strokeDashstyle and KML

2010-08-04 Thread Thomas PAPIN
Hello, It's seems not possible to apply a strokeDashstyle from a KML layer or I didn't find how to do ? is that correct ? The only solution is to add the style after loadend event manually ? ___ Dev mailing list Dev@openlayers.org

Re: [OpenLayers-Dev] strokeDashstyle and KML

2010-08-04 Thread Andreas Hocevar
Hi, there is no strokeStyle in KML. See http://code.google.com/apis/kml/faq.html#linestyle Regards, Andreas. On Aug 4, 2010, at 11:05 , Thomas PAPIN wrote: I want to draw a circle with dash stroke kml xmlns=http://www.opengis.net/kml/2.2; Document nameMy Layer/name

Re: [OpenLayers-Dev] strokeDashstyle and KML

2010-08-04 Thread Thomas PAPIN
So if I want to change the strokeStyle, I need to change it manually after loading the KML or (but I don't like that) edit Format/Kml.js and add a hack to support a non-official tag Thomas 2010/8/4 Andreas Hocevar ahoce...@opengeo.org Hi, there is no strokeStyle in KML. See

Re: [OpenLayers-Dev] strokeDashstyle and KML

2010-08-04 Thread Andreas Hocevar
On Aug 4, 2010, at 11:19 , Thomas PAPIN wrote: So if I want to change the strokeStyle, I need to change it manually after loading the KML or (but I don't like that) edit Format/Kml.js and add a hack to support a non-official tag Or you use rule based styling instead of KML's inline styles.

Re: [OpenLayers-Dev] strokeDashstyle and KML

2010-08-04 Thread christopher.schmidt
On Aug 4, 2010, at 5:05 AM, ext Thomas PAPIN wrote: I want to draw a circle with dash stroke kml xmlns=http://www.opengis.net/kml/2.2; Document nameMy Layer/name descriptionMy Layer/description Style id=circles LineStyle width1/width