Example sources in the examples dir
This commit is contained in:
23
examples/tile-vector.html
Normal file
23
examples/tile-vector.html
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
template: example.html
|
||||
title: Tile vector example
|
||||
shortdesc: Example of vector tiles from openstreetmap.us.
|
||||
docs: >
|
||||
Example of vector tiles from openstreetmap.us.
|
||||
tags: "custom, control"
|
||||
---
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div id="map" class="map" style="background: white;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="alert">
|
||||
<strong>Warning</strong> Map is becoming unresponsive with too many layers.
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend>Layers</legend>
|
||||
<label class="checkbox"><input type="checkbox" id="landuse"/> Landuse</label>
|
||||
<label class="checkbox"><input type="checkbox" id="buildings"/> Buildings</label>
|
||||
<label class="checkbox"><input type="checkbox" id="water" checked/> Water</label>
|
||||
<label class="checkbox"><input type="checkbox" id="roads" checked/> Roads</label>
|
||||
</fieldset>
|
||||
Reference in New Issue
Block a user