Skip to content
Branch: master
Clone or download
friedjoff Merge pull request #93 from geops/greenkeeper/cypress-3.2.0
Update cypress to the latest version 🚀
Latest commit b0c67dd Mar 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cypress
img
src Close dialog before opening it to avoid duplication of element Mar 11, 2019
style iframe height for firefox Nov 21, 2017
.gitignore
.neutrinorc.js
.npmignore Ignore temporary files for NPM release. Mar 20, 2018
.travis.yml
CHANGELOG.md
LICENSE Initial commit Jun 23, 2017
README.md
api.html Rename OLE 2 to OpenLayers Editor. Mar 13, 2019
cypress.json
index.html
jsdoc_conf.json Add API documentation. Jun 23, 2017
package.json

README.md

Openlayers Editor

Greenkeeper badge Travis badge

OpenLayers Editor (OLE) is based on OpenLayers and provides a set of controls for extended editing of spatial data.

Contributions are welcome! Feel free to add more controls and to extend the current functionality. Additionally, the build process is currently very basic and could be optimized. Translations would be nice, too.

Features

  • CAD tool for geometry alignment
  • Drawing line, point and polygon features
  • Moving and rotating geometries
  • Modifying geometries
  • Deleting geometries
  • Topology operations using JSTS: buffer, union, intersection, difference
  • Toolbar for activating and deactivating controls

Demo

For a demo, visit https://openlayers-editor.geops.de.

Dependencies

  • node & npm

Getting started

  • Clone this repository
  • Install: npm install
  • Run: npm start
  • Open your browser and visit http://localhost:5000

Usage

var editor = new ole.Editor(map);

var cad = new ole.control.CAD({
  source: editLayer.getSource()
});

var draw = new ole.control.Draw({
  source: editLayer.getSource()
});

editor.addControls([draw, cad]);

Development

  • Build: npm run build
  • Create doc: npm run-script doc
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.