Files
openlayers/examples/turf.html
2021-02-08 19:40:05 +01:00

14 lines
470 B
HTML

---
layout: example.html
title: turf.js
shortdesc: Example on how to use turf.js with OpenLayers.
docs: >
Example showing the integration of <a href="https://turfjs.org/">turf.js</a>
with OpenLayers. The turf.js function <code>along</code> is used to
display a marker every 200 meters along a street.
tags: "vector, turfjs, along, distance"
resources:
- https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v2.0.0/turf.min.js
---
<div id="map" class="map"></div>