Configures the given map as the default map for all child components. Child components do not need to specify the map explicitly, unless they wish to use a different one.
Using map model reference:
<DefaultMapProvider map={myMapModel}> <MapContainer /> <Toc /></DefaultMapProvider> Copy
<DefaultMapProvider map={myMapModel}> <MapContainer /> <Toc /></DefaultMapProvider>
Configures the given map as the default map for all child components. Child components do not need to specify the map explicitly, unless they wish to use a different one.