[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] Using xy: false with Protocol.WFS

2010-08-04 Thread Steven Ottens
Hi all, I've gotten myself a service to test and there's an extra problem. If the service uses xy=false it expects a boundingbox to be (y1,x1, y2, x2) instead of (x1,y1,x2,x2) (or in this case lowerCornery x/lowerCornerupperCornery x/upperCorner I've put a reasonable simple example here:

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

[OpenLayers-Dev] Hide/Show Feature + KML + Stylemap

2010-08-04 Thread Thomas PAPIN
Hi, it's again me :) When I want to hide/show a feature, I just do in a normal case: feature.style.display = none; This is working great. But in the following case it's not working, and I don't have what to do. - I have a KML with placemark (Point and Polygon) - Each Placemark have attributes

Re: [OpenLayers-Dev] Hide/Show Feature + KML + Stylemap

2010-08-04 Thread Thomas PAPIN
Ok I finally found a solution (not sure it's the easier solution but it's working in all case When declaring StyleMap I add this Rule: new OpenLayers.Rule({ name : changestate, symbolizer: { Polygon: { display : none} },

[OpenLayers-Dev] Draw boxes on the image pressing shift key

2010-08-04 Thread Moiz Bhukhiya
Hello Devs, I am using Openlayers to display images from Djatoka Image server. I am using two different layers. 1. To draw boxes on an image which is OpenLayers.Layer.Boxes 2. To dynamically draw boxes on images I am using OpenLayers.Control() Using Control() functionality I can draw boxes on

Re: [OpenLayers-Dev] Draw boxes on the image pressing shift key

2010-08-04 Thread Tim Schaub
On 8/4/10 12:31 PM, Moiz Bhukhiya wrote: Hello Devs, I am using Openlayers to display images from Djatoka Image server. I am using two different layers. 1. To draw boxes on an image which is OpenLayers.Layer.Boxes 2. To dynamically draw boxes on images I am using OpenLayers.Control() Using

Re: [OpenLayers-Dev] Draw boxes on the image pressing shift key

2010-08-04 Thread Moiz Bhukhiya
I see now what you're saying. I clicked on the checkbox and now the boxes are inline of horizontal line. But is there a way to modify the box drawn?/ Thanks. Moiz On Wed, Aug 4, 2010 at 5:22 PM, Moiz Bhukhiya moiz.bhukh...@gmail.comwrote: Thanks alot Tim for your response. It seems like it

Re: [OpenLayers-Dev] Draw boxes on the image pressing shift key

2010-08-04 Thread Andreas Hocevar
Hi, you could use OpenLayers.Control.TransformFeature for moving/reshaping your boxes. See http://openlayers.org/dev/examples/transform-feature.html for an example. Regards, Andreas. On Aug 5, 2010, at 00:25 , Moiz Bhukhiya wrote: I see now what you're saying. I clicked on the checkbox and

Re: [OpenLayers-Dev] Draw boxes on the image pressing shift key

2010-08-04 Thread Tim Schaub
On 8/4/10 4:56 PM, Andreas Hocevar wrote: Hi, you could use OpenLayers.Control.TransformFeature for moving/reshaping your boxes. See http://openlayers.org/dev/examples/transform-feature.html for an example. That example is so damn sexy! Regards, Andreas. On Aug 5, 2010, at 00:25 , Moiz