mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
Fixes for elevation profile and CSV download
This commit is contained in:
parent
bb0e571587
commit
63b5744dcc
3 changed files with 106 additions and 29 deletions
30
index.html
30
index.html
|
|
@ -2134,23 +2134,23 @@
|
|||
</div>
|
||||
|
||||
<div id="elevationProfile" class="dialog" style="display: none" width="100%">
|
||||
<div data-tip="Set height scale">
|
||||
<div>Height scale:</div>
|
||||
<div><input id="epScaleRange" type="range" min=1 max=100 value=50></div>
|
||||
|
||||
<div>Curve:</div>
|
||||
<div>
|
||||
<select id="epCurve">
|
||||
<option>Linear</option>
|
||||
<option selected>Basis spline</option>
|
||||
<option>Bundle</option>
|
||||
<option>Cubic Catmull-Rom</option>
|
||||
<option>Monotone X</option>
|
||||
<option>Natural</option>
|
||||
</select>
|
||||
<div id="elevationGraph" data-tip="Elevation profile"></div>
|
||||
<div class="centered">
|
||||
<div id="epControls">
|
||||
<span data-tip="Set height scale">Height scale: <input id="epScaleRange" type="range" min=1 max=100 value=50></span>
|
||||
<span data-tip="Set curve profile">Curve:
|
||||
<select id="epCurve">
|
||||
<option>Linear</option>
|
||||
<option selected>Basis spline</option>
|
||||
<option>Bundle</option>
|
||||
<option>Cubic Catmull-Rom</option>
|
||||
<option>Monotone X</option>
|
||||
<option>Natural</option>
|
||||
</select>
|
||||
</span>
|
||||
<span><button id="epSave" data-tip="Download the chart data as a CSV file" class="icon-download"></button></span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="elevationGraph" data-tip="Elevation profile"></div>
|
||||
</div>
|
||||
|
||||
<div id="routeEditor" class="dialog" style="display: none">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue