Manage Map Data and Feature Shapes Together in a React Leaflet LayerGroup or FeatureGroup

Share this video with your friends

Send Tweet

In this lesson, we'll use the LayerGroup and FeatureGroup components to organize feature shapes on our map. Using these grouping features, we'll learn how the LayerGroup is used for organizational purposes like adding or removing multiple layers at once and how we can update the color of all of our grouped shapes with the color prop on our FeatureGroup.