[OpenLayers-Users] Strategy/Save and Protocol/???
Alexandre Dube
adube at mapgears.com
Wed Mar 31 08:00:14 EDT 2010
Hi Jeff,
Jeff Dege wrote:
>
> I've not seen any good examples that showed how Strategy.Save would be
> used. Can anyone point me to one?
>
http://openlayers.org/dev/examples/wfs-protocol-transactions.html
> And does anybody have any ideas on why Strategy.Save would be a better
> approach, than just hooking into Vector. onFeatureInsert?
>
The Save strategy already does what you would need to do manually with
the onFeatureInsert method (since it doesn't contain anything). It's
also a supported and up-to-date way to go.
Cheers,
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Users
mailing list