Rename "tree" stands to "ladder" stands
This commit is contained in:
parent
f4139723e5
commit
d666f15b00
2 changed files with 43 additions and 5 deletions
|
|
@ -49,7 +49,7 @@
|
||||||
{
|
{
|
||||||
"name": "Ladder",
|
"name": "Ladder",
|
||||||
"image": "ladder.jpg",
|
"image": "ladder.jpg",
|
||||||
"type": "tree",
|
"type": "ladder",
|
||||||
"view": [
|
"view": [
|
||||||
"ladder1.jpg",
|
"ladder1.jpg",
|
||||||
"ladder2.jpg",
|
"ladder2.jpg",
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
{
|
{
|
||||||
"name": "Mile-high stand (TODO: rename)",
|
"name": "Mile-high stand (TODO: rename)",
|
||||||
"image": "irontree.jpg",
|
"image": "irontree.jpg",
|
||||||
"type": "tree",
|
"type": "ladder",
|
||||||
"view": [
|
"view": [
|
||||||
"irontree1.jpg",
|
"irontree1.jpg",
|
||||||
"irontree2.jpg"
|
"irontree2.jpg"
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
{
|
{
|
||||||
"name": "Hummock",
|
"name": "Hummock",
|
||||||
"image": "hummock.jpg",
|
"image": "hummock.jpg",
|
||||||
"type": "tree",
|
"type": "ladder",
|
||||||
"active": false,
|
"active": false,
|
||||||
"view": [
|
"view": [
|
||||||
"hummock1.jpg",
|
"hummock1.jpg",
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
{
|
{
|
||||||
"name": "Sofa",
|
"name": "Sofa",
|
||||||
"image": "sofa.jpg",
|
"image": "sofa.jpg",
|
||||||
"type": "tree",
|
"type": "ladder",
|
||||||
"view": [
|
"view": [
|
||||||
"sofa1.jpg",
|
"sofa1.jpg",
|
||||||
"sofa2.jpg",
|
"sofa2.jpg",
|
||||||
|
|
@ -172,7 +172,7 @@
|
||||||
{
|
{
|
||||||
"name": "Ridge",
|
"name": "Ridge",
|
||||||
"image": "ridge.jpg",
|
"image": "ridge.jpg",
|
||||||
"type": "tree",
|
"type": "ladder",
|
||||||
"view": [
|
"view": [
|
||||||
"ridge1.jpg",
|
"ridge1.jpg",
|
||||||
"ridge2.jpg"
|
"ridge2.jpg"
|
||||||
|
|
|
||||||
38
map.html
38
map.html
|
|
@ -124,6 +124,26 @@
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
/* END lightbox */
|
/* 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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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([
|
map.fitBounds([
|
||||||
[47.4865,-93.4068],
|
[47.4865,-93.4068],
|
||||||
[47.4992,-93.3746],
|
[47.4992,-93.3746],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue