Home
>
Hooks
> useMapConfig()
useMapConfig()
In many cases
useMapState()
may be more useful.
const
{
layers
}
=
useMapConfig
();