diff --git a/examples_src/layer-clipping-webgl.html b/examples_src/layer-clipping-webgl.html index f28de14ec2..5a76fac0f7 100644 --- a/examples_src/layer-clipping-webgl.html +++ b/examples_src/layer-clipping-webgl.html @@ -1,56 +1,16 @@ - - -
- - - - - - - -Layer WebGL clipping example.
-This example shows how to use the precompose and postcompose rendering hooks to clip layers using WebGL.
See the layer-clipping-webgl.js source to see how this is done.
-precompose and postcompose rendering hooks to clip layers using WebGL.
+tags: "clipping, webgl, openstreetmap"
+---
+Layer clipping example.
-See the layer-clipping.js source to see how this is done.
-Restricting layer rendering to a limited extent.
-
- This example uses the layer.setExtent() method to
- modify the extent of the overlay layer. Use the controls below
- to limit rendering based on an extent.
-
-
- See the layer-extent.js - source for details on how this is done. -
-layer.setExtent() method to
+ modify the extent of the overlay layer. Use the controls below
+ to limit rendering based on an extent.
+tags: "extent, tilejson"
+---
+Example of a map with layer group.
-See the layer-group.js source to see how this is done.
-View a portion of one layer over another
-
- Layer rendering can be manipulated in precompose and postcompose 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.
-
- Move around the map to see the effect. Use the ↑ up and ↓ down arrow keys to adjust the spyglass size. -
-See the layer-spy.js source to see how this is done.
-Layer rendering can be manipulated in precompose and postcompose 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.
Move around the map to see the effect. Use the ↑ up and ↓ down arrow keys to adjust the spyglass size.
+tags: "spy, image manipulation" +--- +Example of a Layer swipe map.
-See the layer-swipe.js source to see how this is done.
-