Convert L examples to use strapless template

This commit is contained in:
Tim Schaub
2015-11-15 16:07:32 -07:00
parent 87fcca91bd
commit f88681951a
14 changed files with 99 additions and 134 deletions
+3 -7
View File
@@ -1,16 +1,12 @@
---
layout: example.html
title: Layer WebGL clipping example
layout: strapless.html
title: Layer Clipping with WebGL
shortdesc: Layer WebGL clipping example.
docs: >
This example shows how to use the <code>precompose</code> and <code>postcompose</code> rendering hooks to clip layers using WebGL.
tags: "clipping, webgl, openstreetmap"
---
<div class="row-fluid">
<div class="span12">
<div id="map" class="map"></div>
</div>
</div>
<div id="map" class="map"></div>
<div id="no-webgl" class="alert alert-danger" style="display: none">
This example requires a browser that supports <a href="http://get.webgl.org/">WebGL</a>.
</div>