Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 889 Bytes

documentation.md

File metadata and controls

26 lines (17 loc) · 889 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']
});
editor.startEditMode();

See client/example for some inspiration.

Requirements

Server-side processing

Some controls like merge, split and clean depend on server-side processing. A Drupal module and a Zend Framework module is provided (see server). Also SharpMap supports server-side processing. Set editor.oleUrl according to your server configuration.