Convert M-P examples to strapless template

This commit is contained in:
Tim Schaub
2015-11-15 22:13:38 -07:00
parent f88681951a
commit e6343ca272
21 changed files with 101 additions and 172 deletions

View File

@@ -1,21 +1,22 @@
---
layout: example.html
title: Measure example
layout: strapless.html
title: Measure
shortdesc: Example of using the ol.interaction.Draw interaction for creating simple measuring application.
docs: >
<p><i>NOTE: If use geodesic measures is not checked, measure is done in simple way on projected plane. Earth curvature is not taken into account</i></p>
tags: "draw, edit, measure, vector"
resources:
- https://code.jquery.com/jquery-1.11.2.min.js
---
<div class="row-fluid">
<div class="span12">
<div id="map" class="map"></div>
</div>
</div>
<div id="map" class="map"></div>
<form class="form-inline">
<label>Geometry type &nbsp;</label>
<select id="type">
<option value="length">Length</option>
<option value="area">Area</option>
</select>
<label class="checkbox"><input type="checkbox" id="geodesic"/>use geodesic measures</label>
<label class="checkbox">
<input type="checkbox" id="geodesic">
use geodesic measures
</label>
</form>