Re: [OpenLayers-Users] Highlighting changes in the KML layer

2009-11-03 Thread helmi
The idea from http://trac.openlayers.org/ticket/1259 {{{ You could create a selectStyle that could be passed to Control.SelectFeature quite easily: create a style object, read the highlight styles, create a FidFilter rule for every feature (or groups of features with the same style), use the

[OpenLayers-Users] Trouble after upgrading to Geoserver 2.0

2009-11-03 Thread totom
Hi evrybody, I have some problems after upgrading form Geoserver 1.7.3 to 2.0 I have a vector layer (i'm using vectro instead wfs to use custom filters instead of BBOX) so defined: var fixedStrategy = new OpenLayers.Strategy.Fixed(); poly = new

Re: [OpenLayers-Users] Highlighting changes in the KML layer

2009-11-03 Thread Adrian Popa
Thank you for the hint. I suppose I shouldn't expect to see a working demo of what I need :) Do you know if the patches presented in ticket 1259 are already part of openlayers (since the latest version is from january last year?) Thanks, helmi wrote: The idea from

[OpenLayers-Users] Problems adding polygon data from GML

2009-11-03 Thread David Alda Fernandez de Lezea
Hello, I'm having some issues trying to add a feature to a vector layer from an WFS response. I think that my response it's well formed but I'm not sure. This is what I get from my WFS server: ?xml version=1.0 encoding=ISO-8859-1? wfs:FeatureCollection

Re: [OpenLayers-Users] Problems adding polygon data from GML

2009-11-03 Thread Gabriel Nolasco
Hello David! The problem is that your get feature output format is gml 3.1.1, so you will have to parse the response with OpenLayers.Format.GML.v3. To instantiate this class correctly you must specify the feature typeName (without prefix) and the feature namespace, something like: var format =

Re: [OpenLayers-Users] Tween Example

2009-11-03 Thread Fubarred
Thanks Eric, I don't think that Tween is going to provide me with what I need. Perhaps you can guide me in the right direction. Basically, I was the same smooth transition that comes with panTo for zoomToExtent. Is there an easy way to do this? Also, is there a way to fade tiles in as opposed

Re: [OpenLayers-Users] Tween Example

2009-11-03 Thread Eric Lemoine
On Tuesday, November 3, 2009, Fubarred jo...@shaw.ca wrote: Thanks Eric, I don't think that Tween is going to provide me with what I need. Perhaps you can guide me in the right direction. Basically, I was the same smooth transition that comes with panTo for zoomToExtent. Is there an easy way

Re: [OpenLayers-Users] Problem with LayerSwitcher

2009-11-03 Thread Eric Lemoine
On Mon, Nov 2, 2009 at 12:43 PM, Rahn Hanno (rahn) r...@zhaw.ch wrote: Hello, I change the line in my LayerSwitcher.js, like the patch. Then I use the LayerSwitcher in my second map again. But it doesn't work. The first LayerSwitcher works fine but the second only shows my Layers (also

[OpenLayers-Users] Point in polygon

2009-11-03 Thread Brad Spencer
Guys, I have created a vector polygon as follows: var parcel01 = new OpenLayers.Geometry.LinearRing(pointList); polygonFeature = new OpenLayers.Feature.Vector( new OpenLayers.Geometry.Polygon([parcel01])); vectorLayer.addFeatures([polygonFeature]); I then am parsing a list of external

Re: [OpenLayers-Users] Point in polygon

2009-11-03 Thread helmi
The error returned is *polygonFeature.intersects* is not a function have you tried polygonFeature.geometry.intersects() instead? On Wed, Nov 4, 2009 at 1:45 PM, Brad Spencer b...@cubewerx.com.au wrote: Guys, I have created a vector polygon as follows: var parcel01 = new

Re: [OpenLayers-Users] Point in polygon

2009-11-03 Thread Eric Lemoine
On Wednesday, November 4, 2009, Brad Spencer b...@cubewerx.com.au wrote: Guys, I have created a vector polygon as follows: var parcel01 = new OpenLayers.Geometry.LinearRing(pointList); polygonFeature = new OpenLayers.Feature.Vector( new

Re: [OpenLayers-Users] Problems adding polygon data from GML

2009-11-03 Thread David Alda Fernandez de Lezea
Hello, Thank you very much, that piece of code helped me a lot. But I've got a question for you. This 'fucntionallity' worked very well 2 weeks ago, but this week I reviewed it and I realized that it didn't work properly, suddenly the geometries were not selected, and 2 weeks ago they were