[OpenLayers-Users] Adding a vector feature from WKT

Christopher Schmidt crschmidt at metacarta.com
Thu Jan 29 07:13:06 EST 2009


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 upcoming feature

Yes. In the interim, you can use:

 var f = new OpenLayers.Format.WKT();
 feature = f.read("POINT(0 0)");

fromWKT is just a convenience method for this functionality. 

> and when is the next realease expected?

There is no timeline for when the next release will be available at this
time.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list