# Gears Protocol Example

Google, Gears

Shows the usage of the Gears protocol.

Sync

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.

Commit

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

Delete

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

Status:

Result:

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.