Add flight animation example

This commit is contained in:
tsauerwein
2015-08-20 17:18:18 +02:00
parent eee205c688
commit 072a347a54
3 changed files with 157 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
---
layout: example.html
title: Flight animation example
shortdesc: Demonstrates how to animate flights with ´postcompose´.
docs: >
This example shows how to use <b>postcompose</b> and <b>vectorContext</b> to
animate flights. A great circle arc between two airports is calculated using
<a href="https://github.com/springmeyer/arc.js">arc.js</a> and then the flight
paths are animated with <b>postcompose</b>. The flight data is provided by
<a href="http://openflights.org/data.html">OpenFlights</a> (a simplified data
set from the <a href="https://www.mapbox.com/mapbox.js/example/v1.0.0/animating-flight-paths/">
Mapbox.js documentation</a> is used).
tags: "animation, vector, feature, flights, arc"
resources:
- https://api.mapbox.com/mapbox.js/plugins/arc.js/v0.1.0/arc.js
---
<div class="row">
<div class="span8">
<div id="map" class="map"></div>
</div>
</div>