Place track on top of plats
This commit is contained in:
parent
adba133d75
commit
beb4592233
12
map.html
12
map.html
|
@ -96,12 +96,6 @@
|
|||
const plats = await plats_req.json();
|
||||
const data = await data_req.json();
|
||||
|
||||
L.geoJSON(track, {
|
||||
style: {
|
||||
color: "maroon",
|
||||
},
|
||||
}).addTo(map);
|
||||
|
||||
L.geoJSON(plats, {
|
||||
filter: feature => !feature.properties.TAO_NAME.toLowerCase().includes("lawrence deer club"),
|
||||
onEachFeature: function(feature, layer) {
|
||||
|
@ -121,6 +115,12 @@
|
|||
},
|
||||
}).addTo(map);
|
||||
|
||||
L.geoJSON(track, {
|
||||
style: {
|
||||
color: "maroon",
|
||||
},
|
||||
}).addTo(map);
|
||||
|
||||
for (let stand of data.stands) {
|
||||
if (stand.location) {
|
||||
const marker = L.marker(stand.location).addTo(map);
|
||||
|
|
Loading…
Reference in a new issue