Update post/pre render event doc usage in examples

This commit is contained in:
Florent gravin
2018-11-16 10:00:11 +01:00
committed by Tim Schaub
parent 160e9e8056
commit 91bd144f0e
3 changed files with 5 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
---
layout: example.html
title: Flight Animation
shortdesc: Demonstrates how to animate flights with ´postcompose´.
shortdesc: Demonstrates how to animate flights with ´postrender´.
docs: >
This example shows how to use <b>postcompose</b> and <b>vectorContext</b> to
This example shows how to use <b>postrender</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
paths are animated with <b>postrender</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).