UNPKG

784 BHTMLView Raw
1---
2layout: example.html
3title: topolis integration
4shortdesc: Example on how to use topolis with OpenLayers.
5docs: >
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.
8tags: "draw, edit, vector, topology, topolis"
9resources:
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>