14 lines
468 B
HTML
14 lines
468 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="http://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>
|