UNPKG

468 BHTMLView Raw
1---
2layout: example.html
3title: turf.js
4shortdesc: Example on how to use turf.js with OpenLayers.
5docs: >
6 Example showing the integration of <a href="http://turfjs.org">turf.js</a>
7 with OpenLayers. The turf.js function <code>along</code> is used to
8 display a marker every 200 meters along a street.
9tags: "vector, turfjs, along, distance"
10resources:
11 - https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v2.0.0/turf.min.js
12---
13<div id="map" class="map"></div>