[OpenLayers-Users] Save Strategy
Roald de Wit
roald.dewit at lisasoft.com
Wed Jun 3 01:38:36 EDT 2009
Hi,
Wesley might not be subscribed to the dev list. This is where you can
find the latest release candidate:
http://openlayers.org/api/2.8-rc5/OpenLayers.js
and quoting Chris Schmidt:
"As always, the source is available at http://openlayers.org/download/.
Bug reports can be filed in Trac, under the 2.8 version and milestone."
Cheers, Roald
Eric Lemoine wrote:
> On Wednesday, June 3, 2009, Wesley <wesmota at gmail.com> wrote:
>
>> Thanks Eric.
>>
>> Wich version do I have to use to make the following example code work?
>>
>
> 2.8-rc5 or SVN trunk. Try the URL provided in the 2.8 RC5 announcement email.
>
>
>> I'm getting this error when I use OpenLayers.Strategy.Save and OpenLayers.Protocol.WFS.
>>
>>
>> code:
>> wfs = new OpenLayers.Layer.Vector("Editable Features", {
>> strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
>> projection: new OpenLayers.Projection("EPSG:4326"),
>> protocol: new OpenLayers.Protocol.WFS({
>> version: "1.1.0",
>> srsName: "EPSG:4326",
>> url: "http://demo.opengeo.org/geoserver/wfs",
>> featureNS : "http://opengeo.org",
>> featureType: "restricted",
>> geometryName: "the_geom",
>> schema: "http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=og:restricted"
>> })
>> });
>>
>>
>>
>> 2009/6/1 Eric Lemoine <eric.lemoine at camptocamp.com>
>>
>>
>>
>> On Tuesday, June 2, 2009, Wesley <wesmota at gmail.com> wrote:
>>
>>> Hi folks,
>>>
>>> I'm trying to use the WFS in openlayers, when I add the following code:
>>> var saveStrategy = new OpenLayers.Strategy.Save();
>>>
>>> I got an error message: " OpenLayers.Strategy.Save is not a constructor".
>>>
>> You most probably don't use a version of OpenLayers that includes the strategy.
>>
>>
>>> it's wrong?
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>> --
>> Eric Lemoine
>>
>> Camptocamp France SAS
>> Savoie Technolac, BP 352
>> 73377 Le Bourget du Lac, Cedex
>>
>> Tel : 00 33 4 79 44 44 96
>> Mail : eric.lemoine at camptocamp.com
>> http://www.camptocamp.com
>>
>>
>>
>
>
--
Roald de Wit
Software Engineer
roald.dewit at lisasoft.com
Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.
More information about the Users
mailing list