diff --git a/examples/feature-animation.html b/examples/feature-animation.html index be37779a7c..7b5b8f368a 100644 --- a/examples/feature-animation.html +++ b/examples/feature-animation.html @@ -3,7 +3,7 @@ layout: example.html title: Custom Animation shortdesc: Demonstrates how to animate features. docs: > - This example shows how to use postcompose and vectorContext to + This example shows how to use postrender and vectorContext to animate features. Here we choose to do a flash animation each time a feature is added to the layer. tags: "animation, vector, feature, flash" diff --git a/examples/flight-animation.html b/examples/flight-animation.html index b0c54dc875..0b7952ce40 100644 --- a/examples/flight-animation.html +++ b/examples/flight-animation.html @@ -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 postcompose and vectorContext to + This example shows how to use postrender and vectorContext to animate flights. A great circle arc between two airports is calculated using arc.js and then the flight - paths are animated with postcompose. The flight data is provided by + paths are animated with postrender. The flight data is provided by OpenFlights (a simplified data set from the Mapbox.js documentation is used). diff --git a/examples/layer-spy.html b/examples/layer-spy.html index 84bd1c3b32..952e52cc71 100644 --- a/examples/layer-spy.html +++ b/examples/layer-spy.html @@ -3,7 +3,7 @@ layout: example.html title: Layer Spy shortdesc: View a portion of one layer over another docs: > -

Layer rendering can be manipulated in precompose and postcompose event listeners. +

Layer rendering can be manipulated in prerender and postrender event listeners. These listeners get an event with a reference to the Canvas rendering context. In this example, the precompose listener sets a clipping mask around the most recent mouse position, giving you a spyglass effect for viewing one layer over another.