23 lines
820 B
HTML
23 lines
820 B
HTML
---
|
|
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> |