Add geodesic option for measure

This commit is contained in:
Bart van den Eijnden
2015-02-10 13:01:22 +01:00
parent 776ffa925f
commit c5c24f209a
5 changed files with 85 additions and 3 deletions

View File

@@ -75,10 +75,11 @@
<option value="length">Length</option>
<option value="area">Area</option>
</select>
<label class="checkbox"><input type="checkbox" id="geodesic"/>use geodesic measures</label>
</form>
<div id="docs">
<p><i>NOTE: Measure is done in simple way on projected plane. Earth
<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>
<p>See the <a href="measure.js" target="_blank">measure.js source</a> to see how this is done.</p>
</div>