Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 987 Bytes

documentation.md

File metadata and controls

32 lines (20 loc) · 987 Bytes

Documentation

About

OpenLayers Editor (ole) provides a set of controls for extended editing of spatial data.

Example

editor = new OpenLayers.Editor(map, {
    activeControls: ['SnappingSettings', 'SplitFeature', 'MergeFeature', 'CleanFeature'],
    featureTypes: ['polygon', 'path', 'point', 'text']
});
editor.startEditMode();

See /examples for some inspiration.

Requirements

Server-side processing

Some controls like merge, split and clean depend on server-side processing.

Examples for server-side processing and CRUD operations are available for several backends:

Set editor.oleUrl according to your server configuration.