openlayers
Version:
Build tools and sources for developing OpenLayers based mapping applications
14 lines (13 loc) • 472 B
HTML
layout: example.html
title: turf.js
shortdesc: Example on how to use turf.js with OpenLayers 3.
docs: >
Example showing the integration of <a href="http://turfjs.org">turf.js</a>
with OpenLayers 3. 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>