Re: [OpenLayers-Users] Adding a vector feature from WKT

2009-02-03 Thread Derek Watling
Christopher I am still in the (re)development stage, implementing OpenLayers and due to all the dependencies on the page (.NET WebServices /AJAX / obout / GIS backend...) don't have a page I can link to. Also we run a subscription service for property information / valuations so don't want to put

Re: [OpenLayers-Users] Adding a vector feature from WKT

2009-01-30 Thread Christopher Schmidt
On Fri, Jan 30, 2009 at 01:25:26AM -0800, Derek Watling wrote: > > Hi Cristopher > > When using your Format.WKT the property gets highlighted as expected but > when the Zoom Level changes I get a "'renderIntent' is null or not an > object" followed by "'this.element.scrolls' is null or not an obj

Re: [OpenLayers-Users] Adding a vector feature from WKT

2009-01-30 Thread Derek Watling
Hi Cristopher When using your Format.WKT the property gets highlighted as expected but when the Zoom Level changes I get a "'renderIntent' is null or not an object" followed by "'this.element.scrolls' is null or not an object" error messages. I'm fairly new to TileCache / OpenLayers but would li

Re: [OpenLayers-Users] Adding a vector feature from WKT

2009-01-29 Thread Derek Watling
Thanks Christopher By the time I got your reply I had already written my own function, but it is based on the assumption that the features will always be Linear Rings (they should be in my case), but I'm sure your function is a lot more roubust. function PolygonFromWKT(wkt) { if (wkt.substri

Re: [OpenLayers-Users] Adding a vector feature from WKT

2009-01-29 Thread Christopher Schmidt
On Thu, Jan 29, 2009 at 03:34:39AM -0800, Derek Watling wrote: > > First, sorry for the duplicate post. Keep getting "Gateway Timeout" on Nabble > and hit refresh. > > Second, I seem to have come across dev documentation when searching. > Geometry.fromWKT isn't listed in the 2.7 docs. Is this an

Re: [OpenLayers-Users] Adding a vector feature from WKT

2009-01-29 Thread Derek Watling
First, sorry for the duplicate post. Keep getting "Gateway Timeout" on Nabble and hit refresh. Second, I seem to have come across dev documentation when searching. Geometry.fromWKT isn't listed in the 2.7 docs. Is this an upcoming feature and when is the next realease expected? -- View this mess

[OpenLayers-Users] Adding a vector feature from WKT

2009-01-29 Thread Derek Watling
I am trying to highlight the selected property on the map by adding a Vector Layer and then a Feature from WKT. I have the following code: highlightLayer = new OpenLayers.Layer.Vector("Highlight"); map.addLayer(highlightLayer); SubjectProperty = new OpenLayers.Featur

[OpenLayers-Users] Adding a vector feature from WKT

2009-01-29 Thread Derek Watling
I am trying to highlight the selected property on the map by adding a Vector Layer and then a Feature from WKT. I have the following code: highlightLayer = new OpenLayers.Layer.Vector("Highlight"); map.addLayer(highlightLayer); SubjectProperty = new OpenLayers.Featur