Uncheck heavy layers by default

This commit is contained in:
Antoine Abt
2014-07-25 17:04:00 +02:00
parent 338f86f774
commit 49299dfe44
2 changed files with 27 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
<style>
#map {
max-width: 600px;
margin: 0 auto;
}
</style>
</head>
@@ -41,6 +42,16 @@
<div id="docs">
<p>See the <a href="tile-vector.js" target="_blank">tile-vector.js source</a> to see how this is done.</p>
</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>
<div id="tags">tile-vector, openstreetmap</div>
</div>