Function useWellMapState

Allow child components of the WellMap component to get information from the well map state

const wellMapState = useWellMapState()

const wellboresById = wellMapState(state => state.wellboresById)
const wellboresByName = wellMapState(state => state.wellboresByName)
const ratio = wellMapState(state => state.measures.ratio)
const domain = wellMapState(state => state.domain)
const range = wellMapState(state => state.measures.range)
const slotsById = wellMapState(state => state.slotsById)
const styles = wellMapState(state => state.styles)
const getSlotPosition = wellMapState(state => state.measures.getSlotPosition)

This is meant to be used for WellMap addons