Update public/heatmap.html
This commit is contained in:
parent
61eeab65ed
commit
51b340eac7
@ -17,7 +17,7 @@
|
||||
</header>
|
||||
|
||||
<div class="page-container heatmap">
|
||||
<!-- Floor selector -->
|
||||
<!-- Optional floor selector -->
|
||||
<div class="floor-selector">
|
||||
<label><input type="radio" name="floor" value="1" checked> Floor 1</label>
|
||||
<label><input type="radio" name="floor" value="2"> Floor 2</label>
|
||||
@ -25,13 +25,17 @@
|
||||
<label><input type="radio" name="floor" value="4"> Floor 4</label>
|
||||
</div>
|
||||
|
||||
<!-- Scroll & zoom container -->
|
||||
<!-- Scroll + zoom wrapper -->
|
||||
<div id="heatmap-container">
|
||||
<div class="map-svg-container" id="mapSvgContainer">
|
||||
<!-- heatmap.js will insert an <svg> here with:
|
||||
- <rect class="dock-door" ...> for each dock door
|
||||
- <rect class="area-rect" ...> for each area
|
||||
- <text> labels inside these rectangles -->
|
||||
<!-- the mapSvgContainer is where heatmap.js should append your SVG -->
|
||||
<div id="mapSvgContainer" class="map-svg-container">
|
||||
<!-- e.g. heatmap.js should do:
|
||||
const svg = d3.select('#mapSvgContainer')
|
||||
.append('svg')
|
||||
.attr('width', fullWidth)
|
||||
.attr('height', fullHeight);
|
||||
svg.selectAll('rect.dock-door')... etc.
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user