1 | ---
|
2 | layout: example.html
|
3 | title: Layer Clipping with WebGL
|
4 | shortdesc: Layer WebGL clipping example.
|
5 | docs: >
|
6 | This example shows how to use the <code>precompose</code> and <code>postcompose</code> rendering hooks to clip layers using WebGL.
|
7 | tags: "clipping, webgl, openstreetmap"
|
8 | ---
|
9 | <div id="map" class="map"></div>
|
10 | <div id="no-webgl" class="alert alert-danger" style="display: none">
|
11 | This example requires a browser that supports <a href="http://get.webgl.org/">WebGL</a>.
|
12 | </div>
|