Gears Protocol Example

Shows the usage of the Gears protocol.


The Sync link destroys the features currently in the layer, reads features from the Gears database, and adds them to the layer. Uncommitted features will be lost.


The Commit link commits to the Gears database the features that are marked as INSERT, UPDATE or DELETE.


The Delete link marks the selected feature as DELETE. To select a feature click choose the navigation control in the editing toolbar.



This example demonstrates the usage of OpenLayers Gears protocol to read/create/update/delete features from/to the Gears database. Gears must obviously be installed in your browser for this example to work.