Rename "tree" stands to "ladder" stands

This commit is contained in:
Chandler Swift 2025-11-09 14:35:57 -06:00
parent f4139723e5
commit d666f15b00
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 43 additions and 5 deletions

View file

@ -124,6 +124,26 @@
user-select: none;
}
/* END lightbox */
/* BEGIN legend */
.legend {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
line-height: 18px;
color: #555;
}
.legend i {
width: 18px;
height: 18px;
float: left;
margin-right: 8px;
opacity: 0.7;
}
/* END legend */
</style>
</head>
<body>
@ -367,6 +387,24 @@
}
}
const legend = L.control({position: 'bottomright'});
legend.onAdd = function (map) {
const div = L.DomUtil.create('div', 'legend');
div.innerHTML = `
<i class="road"></i> Road<br>
<i class="trail"></i> Trail<br>
<i class="shooting_lane"></i> Shooting lane<br>
<i class="castle"></i> Castle stand<br>
<i class="ladder"></i> Ladder stand<br>
<i class="barrel"></i> Barrel stand<br>
<i class="shack"></i> Shack<br>
<i class="outhouse"></i> Outhouse<br>
<i class="fruit tree"></i> Fruit tree
`;
return div;
};
legend.addTo(map);
map.fitBounds([
[47.4865,-93.4068],
[47.4992,-93.3746],