";
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",
`
The PBS premiere of Deep in the Heart will air for free on all ten Texas PBS stations on April 5 at 7 PM. This will be the first time all of the Texas PBS stations broadcast a film at the same date and time. The Texas PBS distribution is
By Meg Inglis, Executive Director, Native Plant Society of Texas On February 27th Clarence Reed, VP Affiliations and Advocacy and I represented the Society at “Texas Water Day at the Capitol.” The event was sponsored by the Texas Water Foundation – “a nonprofit working to lead Texas toward a resilient
TPWD Celebrates 100th Birthday By Jim Domke, North Central Chapter A hundred years ago in 1923 the first state park in Texas was created in Moody, Texas, with land donated by Governor Pat Neff. Mother Neff State Park covers three ecosystems and is home to native plants. Learn about Mother
Each spring and fall, Society volunteers plan and host native plant sales. Texas native plants can be difficult to find at the typical nursery, so these sales are crucial to promoting the conservation, research, and utilization of native plants in Texas yards and landscapes. Below is a list of upcoming
About the Scholarship The Native Plant Society of Texas offers two scholarships for undergraduates at Texas colleges who major in biology, ecology, or related fields and who will be juniors or seniors in Fall 2023. Successful applicants will show a clear interest in Texas Native Plants and future plans that align with the stated mission of the Society:
About the Awards Each year our Society recognizes achievements of individuals and groups whose work supports our mission and enriches our understanding or appreciation of Texas native plants. Awards are presented for acts of conservation and public service, excellence in writing, horticultural achievement, lifetime achievement, and service. These awards are
By Native Plant Society of Texas, Education Committee The Native Plant Society of Texas offers grants to Texas university graduate students to support research projects related to Texas native plants or the conservation and restoration of Texas native plant habitats, through the Ann Miller Gonzalez Graduate Research Grant Program. This
by Sara Torres, Lindheimer Chapter President-Elect About the Screening The Guadalupe and Lindheimer Chapters of the Native Plant Society of Texas are proud to present a special showing of the documentary Deep in the Heart: A Texas Wildlife Story at the historic Brauntex Theater (290 W. San Antonio St. New
The Steering Committee for the Native Landscape Certification Program wants to make its program more accessible. As a first step toward this goal they are seeking to make some materials available in Spanish for the Level 1 class in the San Antonio area.
It is time for all chapters to take part in the annual membership contest. The number of memberships for each chapter on the morning of January 1 will be compared to the membership total for the morning of April 30, then the numerical increase and the percentage of increase will be calculated to determine the winners. Let’s do this!
Texas A&M Students Plan Two Monarch Gardens Students from the Texas A&M University system applied for two different grants last year through the Bring Back the Monarchs to Texas (BBMT) grant program. Both garden projects won cash grants from the BBMT committee and were installed on the Killeen campus in
The Native Plant Society of Texas 2023 Spring Symposium is coming to Austin, Texas! This year’s event will take place at the Lady Bird Johnson Wildflower Center in South Austin on Saturday February 25.
A developer, RREAF Holdings LLC, is seeking a permit to withdraw 6,256,339 gallons of water per year for non-native landscape irrigation in Salado, TX. Clearwater Underground Water Conservation District (UWCD) will hold a hearing on January 11th. What is the Society doing about it? The Tonkawa Chapter recently collected 50
**ARCHIVED POST ** Monarch butterflies have been in the news! Maybe you’ve heard that their numbers have dipped so much that their amazing migration is in danger. One group of scientists has even declared migratory monarchs endangered. Scientists are asking everyone to do what they can to help monarchs. The
**ARCHIVED POST ** We’ve put together a 2022 collection of Native Plant Society of Texas-inspired shopping! These gifts let you share the love of native plants and awareness of our organization while generating proceeds to support the Society’s mission. This holiday season we have two new options for gifting: We
**ARCHIVED POST ** We’ve put together a 2022 collection of Native Plant Society of Texas-inspired shopping! These gifts let you share the love of native plants and awareness of our organization while generating proceeds to support the Society’s mission. This holiday season we have two new options for gifting: We
**ARCHIVED POST ** Grant Application Cycle It’s time! The 2022-2023 Bring Back the Monarchs to Texas garden grant season is now in full swing! Find the 2023 application, rules, and other information on the Native Plant Society of Texas’ Bring Back the Monarchs website. Deadline Applications are due February 1st,
**ARCHIVED POST ** Our volunteers are the best of the best! Here’s just a snippet of what folks have been up to: Plant Sales Boerne Chapter of NPSOT held their Native Plant Sale and Monarch Tagging at Herff Farm, October 22nd. Photo submitted by Mary Kennedy. Volunteers Susan Brotman, Celeste
As the West Texas dust settles on the Native Plant Society of Texas Trans-Pecos Fall Symposium, we want to take a moment to reflect on the event and share some exciting outcomes. The 2022 event was a success by the numbers, with 166 attendees registered to travel to Alpine, TX for in-person events, and 128 registrants registered to access the programming virtually.
**ARCHIVED POST ** In 2017 Sara rode her bicycle 10,201 miles following the monarch migration. Her goal was to be a voice for the monarch, by giving presentations, interviews and connecting with people along the route (www.beyondabook.org). In 2021 her book, Bicycling with Butterflies, was published, reaching even more people.