Skip to content

Commit

Permalink
Add slider label
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianpls committed Jul 24, 2024
1 parent 7a20b9d commit bddd6a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@
<div id="map"></div>
<div id="info-pane" class="leaflet-bar">
<div id="sungle">
<input type="range" min="40" max="140" value="45" class="slider" id="sunAngle">
<input type="range" min="40" max="140" value="45" class="slider" id="sunAngle" label="Sun Elevation">
</div>
<div id="slider"></div>
<label>Sun Elevation</label>
<hr>
<div id="slider"></div>
<br><label id="min">0 meters</label>
<br><label id="max">4000 meters</label>
<hr>
Expand Down
6 changes: 4 additions & 2 deletions leaflet.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@
<div id="map"></div>
<div id="info-pane" class="leaflet-bar">
<div id="sungle">
<input type="range" min="40" max="140" value="45" class="slider" id="sunAngle">
<input type="range" min="40" max="140" value="45" class="slider" id="sunAngle" label="Sun Elevation">
</div>
<div id="slider"></div>
<label>Sun Elevation</label>
<hr>
<div id="slider"></div>
<br><label id="min">0 meters</label>
<br><label id="max">4000 meters</label>
<hr>
Expand Down

0 comments on commit bddd6a8

Please sign in to comment.