";
for (let ecoregion of level3Eco) {
items.innerHTML += `
${ecoregion.name}
`;
}
div.insertAdjacentHTML(
"beforeend",
""
);
return div;
};
//requested that legend be hidden, so it's commented out
// level3legend.addTo(map);
// if (params.eco3Show !== true && params.eco4Show !== true) {
// const legend = document.querySelector(".legend-items");
// legend.style.display = "none";
// }
}
/*
*eco3Load* will load the level 3 ecoregion data. Must be TRUE in order for eco3Show to work.
*eco3Show* will automatically populate the map with the level 3 ecoregions. If not selected, the ecoregions & legend will load, but will be toggled off & minimized respectively.
*/
if (params.eco3Load === true) {
//initialize ecoregion layer
const level3Layer = new L.layerGroup();
//add loading spinner while ecoregions load
document.querySelector("#ecoregion_map").insertAdjacentHTML(
"afterend",
`
Level 3 Ecoregions Loading
`
);
const loadLevel3Ecos = async () => {
const promises = [];
for (let eco of level3Eco) {
try {
let res = await fetch(
`https://geodata.epa.gov/arcgis/rest/services/ORD/USEPA_Ecoregions_Level_III_and_IV/MapServer/11/query?where=US_L3CODE+%3D+%27${eco.id}%27&f=geojson`
);
let json = await res.json();
//add ecoregion name so it can be bound to tooltip
json.name = eco.name;
json.style = eco.style;
json.info = eco.info;
promises.push(json);
} catch (error) {
console.log(error);
}
}
Promise.all(promises).then((res) => {
document.querySelector(".spinner-container").hidden = true;
document.querySelector("#level-3-loading").style.display = "none";
for (let ecoregion of res) {
L.geoJSON(ecoregion, {
className: "l3-layer-overlay",
fillOpacity: 0.2,
weight: 1,
color: ecoregion.style,
})
//TODO currently uses unsplash filler images, needs to be updated in future with actual ecoregion pictures
.bindTooltip(ecoregion.name, { className: "ecoregion-popup" })
.on("click", function (e) {
l3sidebar.setContent(`
${ecoregion.name}
Level 3 Ecoregion
${ecoregion.info}
Reference: Griffith, Bryce, Omernick & Rodgers (2007). Ecoregions of Texas.`);
l3sidebar.show();
})
.addTo(level3Layer);
}
//add the layer to the map
if (params.eco3Show === true) {
map.addLayer(level3Layer);
}
//add layer to overlay so it can be toggled
layerControl.addOverlay(level3Layer, "Level 3 Ecoregions");
});
};
loadLevel3Ecos();
//initialize sidebar
const l3sidebar = L.control.sidebar("l3sidebar", {
position: "left",
});
//add controls to sidebar
map.addControl(l3sidebar);
}
/*
*eco4Load* will load the level 3 ecoregion data. Must be TRUE in order for eco4Show to work.
*eco4Show* will automatically populate the map with the level 4 ecoregions. If not selected, the ecoregions & legend (for level 3 ecoregions) will load, but will be toggled off & minimized respectively.
*/
if (params.eco4Load === true) {
//initialize ecoregion layer
const level4Layer = new L.layerGroup();
//add loading spinner while ecoregions load
document.querySelector("#ecoregion_map").insertAdjacentHTML(
"afterend",
`
Level 4 Ecoregions Loading
`
);
const loadLevel4Ecos = async () => {
const lvl4Promises = [];
for (let eco of level4Eco) {
try {
let res = await fetch(
`https://geodata.epa.gov/arcgis/rest/services/ORD/USEPA_Ecoregions_Level_III_and_IV/MapServer/7/query?where=US_L4CODE+%3D+%27${eco.id}%27&f=geojson`
);
let json = await res.json();
//add ecoregion name so it can be bound to tooltip
json.name = eco.name;
json.style = eco.style;
json.info = eco.info;
lvl4Promises.push(json);
} catch (error) {
console.log(error);
}
}
Promise.all(lvl4Promises).then((res) => {
if (params.eco3Load === false && params.eco4Load === true) {
document.querySelector(".spinner-container").hidden = true;
}
document.querySelector("#level-4-loading").style.display = "none";
for (let ecoregion of res) {
L.geoJSON(ecoregion, {
className: "l4-layer-overlay",
fillOpacity: 0.4,
weight: 1,
color: ecoregion.style,
})
//TODO currently uses unsplash filler images, needs to be updated in future with actual ecoregion pictures
.bindTooltip(ecoregion.name, { className: "ecoregion-popup" })
.on("click", function (e) {
l4sidebar.setContent(`
${ecoregion.name}
Level 4 Ecoregion
${ecoregion.info}
Reference: Griffith, Bryce, Omernick & Rodgers (2007). Ecoregions of Texas.`);
l4sidebar.show();
})
.addTo(level4Layer);
}
if (params.eco4Show === true) {
//add the layer to the map
map.addLayer(level4Layer);
}
//add layer to overlay so it can be toggled
layerControl.addOverlay(level4Layer, "Level 4 Ecoregions");
});
};
loadLevel4Ecos();
const l4sidebar = L.control.sidebar("l4sidebar", {
position: "right",
});
map.addControl(l4sidebar);
}
/*
*chapterLoad* will load the chapter location pins & chapter counties to create a "heatmap". Must be TRUE in order for chapterShow to work.
*chapterShow* will automatically populate the map with the chapter location pins & chapter counties. If not selected, the chapter location pins & chapter counties will load but will be toggled off.
*/
if (params.chapterLoad === true) {
const loadChapters = async () => {
const chapterOptions = { ...iconOptions };
chapterOptions.borderColor = "#3c5799";
chapterOptions.textColor = "#3c5799";
chapterOptions.icon = "users";
//initialize layer for chapter pins
const chapterPins = new L.LayerGroup();
//initialize layer for chapter counties
const chapterCounties = new L.LayerGroup();
//storage for chapter counties
const countyArr = [];
//add loading spinner while ecoregions load
document.querySelector("#ecoregion_map").insertAdjacentHTML(
"afterend",
`
These native places are great for seeing what plants have either been planted in attractive combinations / landscaping or how native plants community associations occur by Mother Nature. Take some time to get outside and enjoy nature and native plants!
Legend: “Chapter Demo Gardens” – beds, gardens or Monarch Waystations maintained by Native Plant Society of Texas volunteers from a specific chapter; “Native Plant Gardens” – any natural area where one can see native plants in the wild: park, trail, preserve, grassland, botanical garden, etc.
Overseen by long-time member, Wilt Shaw, the garden at BVFD can easily be seen as you travel along SH46 east toward Bergheim. Vibrant displays of wildflowers are quite the showstopper
Members of the Boerne NPSOT chapter, after two years of work to establish a demonstration garden for the PGARP program, finally saw their efforts come to fruition in April 2020.
Leads: Josephine Keeney & Jane Oosterhuis Workdays: Monthly Knapp Heritage Park was dedicated in 2004 and managed by the Arlington Historical Society. Geraldine Mills is the Director of this park
Carroll Abbott (1926-1984) was the founder of the Native Plant Society of Texas and one of the early promoters of preserving and gardening with native plants. You can read his
The Boerne Chapter maintains two demonstration gardens at Cibolo Nature Center. The larger garden encompasses the main parking lot area, including the central island and raised beds bordering the parking
The New Braunfels NPSOT chapter and The Conservation Society planted a garden with both butterfly host plants and nectar plants. The Conservation Society prepared the beds and Gail Groves of
Led by the Board of Directors, Cross Mountain, with its Monarch garden, is a new and exciting collaboration between the City of Fredericksburg and our Native Plant Society chapter. A
Lead: Stesha Pasachnik Workdays: 2nd Friday of the month from 9:30 am to 11:30 am unless otherwise noted The Fort Worth Zoo Pollinator Grow Zone located at 1989 Colonial Parkway,
Leads: Theresa Kay Thomas and Greg Hubbard Workdays: Second and Fourth Thursday of each month The Southwest Regional / Hulen Library Demo garden is located on the southwest corner of
Lead: Josephine Keeney Workdays: Second Saturday of each month This Pollinator Garden was started from scratch in 2010 under the Leadership of Kevin Donovan and the sponsorship of the Arlington
Lead: Josephine Keeney Workdays: Fourth Monday of each month The garden was started November 2020 with a great from the Audubon Society and plants were donated by volunteers. Bluebird nest
The Beacon Hill Community Garden began in 2008 with a grant from Green Spaces Alliance. With the help of dedicated volunteers, garden beds were built from recycled concrete, soil was
The Blackland Prairie Raptor Center in Lucas promotes and enhances populations of raptors through rehabilitation, conservation, and education initiatives. In line with their name, the facility has also undertaken large-scale
About Brodie Wild Project A 4.4-acre water quality protection property at the corner of Slaughter Lane and Brodie Lane, Brodie Wild is a cooperative project between the Austin chapter of
Part of Wilco Chapter’s Interpretative Plant Signs program Visit Park: https://www.wilco.org/Departments/Parks/County-Parks-Trails/Brushy-Creek-Regional-Trail
31-acre patchwork of nature is a sanctuary for local wildlife and native plants. Open to public walking Tours- normal 1st Saturday of the month at 9am. Check Green Space Alliance
The 1,475 acre preserve in Hunt County contains some of the largest and most diverse remnants of the Blackland Prairie — the Texas version of the tallgrass prairie that once
Award-winning environmental education park landscaped exclusively with native plants. Contains the 2,500 sq ft North American Friendship Garden. Learn more about the park and the garden.
The nature preserve, located in Allen, is 72 acres of natural habitat, and rich in floral diversity that is reminiscent of the native tallgrass Blackland Prairie.
20-acre park, containing excellent examples of Hill Country landscapes. Trail markers identify plants along portions of the Cedar Flats and Shady Creek trails and parts of the natural surfaced sections
A historic five-acre nature preserve situated in the midst of north Dallas. The site features a rare remnant of the Blackland Prairie once indigenous to the Dallas area, the historic
600 acres of undeveloped Hill Country terrain, with over 10 miles of paved and unpaved trails including level 1 trail surfaces to level 4 trails. Learn more.
In 2017, area pre-schools and after-school care centers were the recipients of raised vegetable bed and pollinator gardens; built as a project of the current Gillespie County Leadership Class. Our
A Master Gardener project. Ward Miller is the NPSOT point person at the Good Sam garden. As we see so many times among our NPSOT members, the maxim “one person
The 11,320-acre refuge on Lake Texoma includes shallow marshes, creeks, bottomland hardwoods, forested uplands and grasslands, that provide habitat for more than 300 species of birds and many varieties of wildlife.