1 | ---
|
2 | layout: example.html
|
3 | title: turf.js
|
4 | shortdesc: Example on how to use turf.js with OpenLayers.
|
5 | docs: >
|
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.
|
9 | tags: "vector, turfjs, along, distance"
|
10 | resources:
|
11 | - https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v2.0.0/turf.min.js
|
12 | ---
|
13 | <div id="map" class="map"></div>
|