Add example with turf.js

This commit is contained in:
tsauerwein
2015-09-19 13:57:54 +09:00
parent a5626a0573
commit 8a703640d0
2 changed files with 76 additions and 0 deletions

19
examples/turf.html Normal file
View File

@@ -0,0 +1,19 @@
---
template: example.html
title: turf.js Example
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 class="row-fluid">
<div class="span12">
<div id="map" class="map"></div>
</div>
</div>