Gets the full legend layers array for the given map.
GV This getter shouldn't have a hook equivalent, favor precise hooks for specific properties instead to
GV avoid unnecessary re-renders of the full layers tree when any single layer property changes.
GV See examples below for how to create these precise hooks using the createLayerSelectorHook factory.
Gets the full legend layers array for the given map.
GV This getter shouldn't have a hook equivalent, favor precise hooks for specific properties instead to GV avoid unnecessary re-renders of the full layers tree when any single layer property changes. GV See examples below for how to create these precise hooks using the createLayerSelectorHook factory.