<MultiMapManager />

A higher order component that manages MultiMapContext for connectToContext wrapped children

Constructor

# <MultiMapManager children contextProps groups mapsConfig onMapsInit translations />

PropTypes:
Name Type Required Description Default
children union Yes Pass components as children of Provider component
contextProps object No Add any custom props to context and they will be passed to all components wrapped by connectToContext {}
groups arrayOf No Nested arrays of ids grouped together to syncronize events across multiple maps []
mapsConfig array Yes Array of map config objects
onMapsInit func No callback called with array of map objects after all multimaps have been created () => {}
translations object No Object with key/value pairs for component translation strings function()
Since:
  • 1.7.0

View Source MultiMapManager/MultiMapManager.js, line 15