Allow child components of the WellMap component to get information from the well map state
WellMap
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) Copy
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
Allow child components of the
WellMap
component to get information from the well map stateExample
Remarks
This is meant to be used for WellMap addons
See
WellMap