1 | ---
|
2 | layout: example.html
|
3 | title: topolis integration
|
4 | shortdesc: Example on how to use topolis with OpenLayers.
|
5 | docs: >
|
6 | Example showing the integration of <a href="https://github.com/bjornharrtell/topolis">topolis</a>
|
7 | with OpenLayers, enabling creating and editing topological geometry. Standard interaction draws edges, snapping to existing edges. Delete an edge by drawing a new edge crossing the one to delete.
|
8 | tags: "draw, edit, vector, topology, topolis"
|
9 | resources:
|
10 | - https://cdn.rawgit.com/bjornharrtell/topolis/releases/0.1.1/topolis.min.js
|
11 | - https://code.jquery.com/jquery-3.1.1.min.js
|
12 | - https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.3/toastr.min.js
|
13 | - https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.3/toastr.min.css
|
14 | ---
|
15 | <div id="map" class="map"></div>
|