95030cd838c2e2d56cab90d843d090bda52d494d
This commit adds an `extend` method to the draw interaction. This method makes it possible to extend (continue drawing) an existing line string feature. It only works on line string features, where this functionality makes the most sense. Here's an example on how to use `extend`: ```js var vectorSource = vectorLayer.getSource(); vectroSource.removeFeature(feature); drawInteraction.extend(feature); ```
OpenLayers 3
OpenLayers 3 is a high-performance, feature-packed library for creating interactive maps on the web.
Getting Started
- Download the latest release
- Install with npm:
npm install openlayers - Clone the repo:
git clone git@github.com:openlayers/ol3.git
Documentation
Check out the hosted examples, the workshop or API docs.
Bugs
Please use the GitHub issue tracker for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
Contributing
Please see our guide on contributing if you're interested in getting involved.
Community
- Need help? Find it on stackoverflow using the tag 'openlayers-3'
- Follow @openlayers on Twitter
- Discuss with openlayers users on IRC in
#openlayersatchat.freenode
Description
Languages
JavaScript
99%
CSS
0.6%
Handlebars
0.3%
Shell
0.1%