RAMP4 - v4.21.0
Preparing search index...
fixtures/draw/store/draw-store
useDrawStore
Variable useDrawStore
Const
useDrawStore
:
StoreDefinition
<
"draw"
,
Pick
<
{
activeSegmentKey
:
ComputedRef
<
string
|
null
>
;
activeTool
:
Ref
<
ActiveToolList
,
ActiveToolList
>
;
activeVertexKey
:
ComputedRef
<
string
|
null
>
;
addGraphic
:
(
graphic
:
any
)
=>
any
;
bufferSettings
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
cancelEditModeClearSelection
:
Ref
<
boolean
,
boolean
>
;
cancelEditModeRequestId
:
Ref
<
number
,
number
>
;
clearImportShapes
:
(
requestId
?:
number
)
=>
void
;
clearMeasurementInteraction
:
()
=>
void
;
clearSelection
:
()
=>
void
;
configParsed
:
Ref
<
boolean
,
boolean
>
;
deleteSelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
editSelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
getSelectedGraphic
:
()
=>
any
;
graphics
:
Reactive
<
any
[]
>
;
hoveredSegmentKey
:
Ref
<
string
|
null
,
string
|
null
>
;
hoveredVertexKey
:
Ref
<
string
|
null
,
string
|
null
>
;
identifyBufferMode
:
Ref
<
DrawIdentifyBufferMode
,
DrawIdentifyBufferMode
>
;
identifyGeometryGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
identifySelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
importShapeRecords
:
Ref
<
{
geometry
:
unknown
;
id
?:
string
;
settings
:
{
drawBuffer
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
drawIdentifyBufferMode
:
DrawIdentifyBufferMode
;
drawMapLabels
:
{
areaLabel
:
boolean
;
segmentLength
:
boolean
;
segmentLetters
:
boolean
;
vertexNumbers
:
boolean
;
}
;
drawStyle
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
}
;
type
:
string
;
}
[]
,
|
DrawShapeExportRecord
[]
|
{
geometry
:
unknown
;
id
?:
string
;
settings
:
{
drawBuffer
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
drawIdentifyBufferMode
:
DrawIdentifyBufferMode
;
drawMapLabels
:
{
areaLabel
:
boolean
;
segmentLength
:
boolean
;
segmentLetters
:
boolean
;
vertexNumbers
:
boolean
;
}
;
drawStyle
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
}
;
type
:
string
;
}
[]
,
>
;
importShapesRequestId
:
Ref
<
number
,
number
>
;
mapLabelSettingsUpdatedGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
mapLabelSettingsUpdateRequestId
:
Ref
<
number
,
number
>
;
mapNavEl
:
Ref
<
unknown
,
unknown
>
;
measurementsEnabled
:
Ref
<
boolean
,
boolean
>
;
refreshSelectedGraphicFeatureCountsRequestId
:
Ref
<
number
,
number
>
;
removeGraphic
:
(
id
:
string
)
=>
void
;
requestCancelEditMode
:
(
clearSelection
?:
boolean
)
=>
void
;
requestDeleteSelectedGraphic
:
()
=>
void
;
requestEditSelectedGraphic
:
()
=>
void
;
requestIdentifySelectedGraphic
:
()
=>
void
;
requestImportShapes
:
(
shapes
:
DrawShapeExportRecord
[]
)
=>
void
;
requestRefreshSelectedGraphicFeatureCounts
:
()
=>
void
;
requestShapePanelFocus
:
()
=>
void
;
requestStopEditMode
:
(
clearSelection
?:
boolean
)
=>
void
;
selectedGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
selectedGraphicSettingsUpdatedGraphicId
:
Ref
<
string
|
null
,
string
|
null
,
>
;
selectedGraphicSettingsUpdateRequestId
:
Ref
<
number
,
number
>
;
selectedSegmentKey
:
Ref
<
string
|
null
,
string
|
null
>
;
selectedVertexKey
:
Ref
<
string
|
null
,
string
|
null
>
;
selectGraphic
:
(
id
:
string
)
=>
void
;
setActiveTool
:
(
tool
:
ActiveToolList
)
=>
void
;
setBorderColor
:
(
color
:
string
)
=>
void
;
setBufferColor
:
(
color
:
string
)
=>
void
;
setBufferDistance
:
(
distance
:
number
)
=>
void
;
setBufferSettings
:
(
settings
:
Partial
<
DrawBufferSettings
>
)
=>
void
;
setBufferUnit
:
(
unit
:
DrawBufferUnit
)
=>
void
;
setFillColor
:
(
color
:
string
)
=>
void
;
setGraphicMapLabelSettings
:
(
id
:
string
,
settings
:
Partial
<
DrawMapLabelSettings
>
,
)
=>
void
;
setHoveredSegmentKey
:
(
key
:
string
|
null
)
=>
void
;
setHoveredVertexKey
:
(
key
:
string
|
null
)
=>
void
;
setIdentifyBufferMode
:
(
mode
:
DrawIdentifyBufferMode
)
=>
void
;
setIdentifyGeometryGraphicId
:
(
id
:
string
|
null
)
=>
void
;
setMeasurementsEnabled
:
(
enabled
:
boolean
)
=>
void
;
setOpacity
:
(
opacity
:
number
)
=>
void
;
setSelectedGraphicBorderColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicBufferColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicBufferDistance
:
(
distance
:
number
)
=>
void
;
setSelectedGraphicBufferSettings
:
(
settings
:
Partial
<
DrawBufferSettings
>
,
)
=>
void
;
setSelectedGraphicBufferUnit
:
(
unit
:
DrawBufferUnit
)
=>
void
;
setSelectedGraphicFillColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicIdentifyBufferMode
:
(
mode
:
DrawIdentifyBufferMode
,
)
=>
void
;
setSelectedGraphicOpacity
:
(
opacity
:
number
)
=>
void
;
setSelectedGraphicStyleSettings
:
(
settings
:
Partial
<
DrawStyleSettings
>
,
)
=>
void
;
setSelectedSegmentKey
:
(
key
:
string
|
null
)
=>
void
;
setSelectedVertexKey
:
(
key
:
string
|
null
)
=>
void
;
setShapeDetailsActiveTab
:
(
tab
:
DrawShapeInspectorTab
)
=>
void
;
setShapeDetailsLabelsUseSettings
:
(
useSettings
:
boolean
)
=>
void
;
setShapeDetailsLabelsVisible
:
(
visible
:
boolean
)
=>
void
;
setShapeDetailsPickEnabled
:
(
enabled
:
boolean
)
=>
void
;
setShapeFeatureCounts
:
(
id
:
string
,
counts
:
DrawShapeFeatureCounts
,
)
=>
void
;
setShapeFeatureCountsLoading
:
(
id
:
string
)
=>
void
;
setStyleSettings
:
(
settings
:
Partial
<
DrawStyleSettings
>
)
=>
void
;
setSupportedTypes
:
(
types
:
DrawTypeConfig
[]
)
=>
void
;
shapeDetailsActiveTab
:
Ref
<
DrawShapeInspectorTab
,
DrawShapeInspectorTab
>
;
shapeDetailsLabelsUseSettings
:
Ref
<
boolean
,
boolean
>
;
shapeDetailsLabelsVisible
:
Ref
<
boolean
,
boolean
>
;
shapeDetailsPickEnabled
:
Ref
<
boolean
,
boolean
>
;
shapeFeatureCounts
:
Record
<
string
,
DrawShapeFeatureCounts
>
;
shapePanelFocusRequestId
:
Ref
<
number
,
number
>
;
stopEditModeClearSelection
:
Ref
<
boolean
,
boolean
>
;
stopEditModeRequestId
:
Ref
<
number
,
number
>
;
styleSettings
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
supportedTypes
:
Ref
<
{
enabled
?:
boolean
;
options
?:
Record
<
string
,
any
>
;
type
:
string
}
[]
,
|
DrawTypeConfig
[]
|
{
enabled
?:
boolean
;
options
?:
Record
<
string
,
any
>
;
type
:
string
}
[]
,
>
;
toggleMeasurements
:
()
=>
void
;
toggleShapeDetailsPickEnabled
:
()
=>
void
;
updateGraphic
:
(
id
:
string
,
updates
:
any
)
=>
void
;
updateGraphicGeometry
:
(
id
:
string
,
geometry
:
any
)
=>
void
;
}
,
|
"supportedTypes"
|
"configParsed"
|
"activeTool"
|
"graphics"
|
"selectedGraphicId"
|
"measurementsEnabled"
|
"hoveredSegmentKey"
|
"selectedSegmentKey"
|
"hoveredVertexKey"
|
"selectedVertexKey"
|
"shapeDetailsPickEnabled"
|
"shapeDetailsLabelsVisible"
|
"shapeDetailsLabelsUseSettings"
|
"shapeDetailsActiveTab"
|
"deleteSelectedGraphicRequestId"
|
"editSelectedGraphicRequestId"
|
"identifySelectedGraphicRequestId"
|
"shapePanelFocusRequestId"
|
"stopEditModeRequestId"
|
"stopEditModeClearSelection"
|
"cancelEditModeRequestId"
|
"cancelEditModeClearSelection"
|
"refreshSelectedGraphicFeatureCountsRequestId"
|
"selectedGraphicSettingsUpdateRequestId"
|
"selectedGraphicSettingsUpdatedGraphicId"
|
"mapLabelSettingsUpdateRequestId"
|
"mapLabelSettingsUpdatedGraphicId"
|
"importShapesRequestId"
|
"importShapeRecords"
|
"identifyGeometryGraphicId"
|
"styleSettings"
|
"bufferSettings"
|
"identifyBufferMode"
|
"shapeFeatureCounts"
|
"mapNavEl"
,
>
,
Pick
<
{
activeSegmentKey
:
ComputedRef
<
string
|
null
>
;
activeTool
:
Ref
<
ActiveToolList
,
ActiveToolList
>
;
activeVertexKey
:
ComputedRef
<
string
|
null
>
;
addGraphic
:
(
graphic
:
any
)
=>
any
;
bufferSettings
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
cancelEditModeClearSelection
:
Ref
<
boolean
,
boolean
>
;
cancelEditModeRequestId
:
Ref
<
number
,
number
>
;
clearImportShapes
:
(
requestId
?:
number
)
=>
void
;
clearMeasurementInteraction
:
()
=>
void
;
clearSelection
:
()
=>
void
;
configParsed
:
Ref
<
boolean
,
boolean
>
;
deleteSelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
editSelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
getSelectedGraphic
:
()
=>
any
;
graphics
:
Reactive
<
any
[]
>
;
hoveredSegmentKey
:
Ref
<
string
|
null
,
string
|
null
>
;
hoveredVertexKey
:
Ref
<
string
|
null
,
string
|
null
>
;
identifyBufferMode
:
Ref
<
DrawIdentifyBufferMode
,
DrawIdentifyBufferMode
>
;
identifyGeometryGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
identifySelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
importShapeRecords
:
Ref
<
{
geometry
:
unknown
;
id
?:
string
;
settings
:
{
drawBuffer
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
drawIdentifyBufferMode
:
DrawIdentifyBufferMode
;
drawMapLabels
:
{
areaLabel
:
boolean
;
segmentLength
:
boolean
;
segmentLetters
:
boolean
;
vertexNumbers
:
boolean
;
}
;
drawStyle
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
}
;
type
:
string
;
}
[]
,
|
DrawShapeExportRecord
[]
|
{
geometry
:
unknown
;
id
?:
string
;
settings
:
{
drawBuffer
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
drawIdentifyBufferMode
:
DrawIdentifyBufferMode
;
drawMapLabels
:
{
areaLabel
:
boolean
;
segmentLength
:
boolean
;
segmentLetters
:
boolean
;
vertexNumbers
:
boolean
;
}
;
drawStyle
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
}
;
type
:
string
;
}
[]
,
>
;
importShapesRequestId
:
Ref
<
number
,
number
>
;
mapLabelSettingsUpdatedGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
mapLabelSettingsUpdateRequestId
:
Ref
<
number
,
number
>
;
mapNavEl
:
Ref
<
unknown
,
unknown
>
;
measurementsEnabled
:
Ref
<
boolean
,
boolean
>
;
refreshSelectedGraphicFeatureCountsRequestId
:
Ref
<
number
,
number
>
;
removeGraphic
:
(
id
:
string
)
=>
void
;
requestCancelEditMode
:
(
clearSelection
?:
boolean
)
=>
void
;
requestDeleteSelectedGraphic
:
()
=>
void
;
requestEditSelectedGraphic
:
()
=>
void
;
requestIdentifySelectedGraphic
:
()
=>
void
;
requestImportShapes
:
(
shapes
:
DrawShapeExportRecord
[]
)
=>
void
;
requestRefreshSelectedGraphicFeatureCounts
:
()
=>
void
;
requestShapePanelFocus
:
()
=>
void
;
requestStopEditMode
:
(
clearSelection
?:
boolean
)
=>
void
;
selectedGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
selectedGraphicSettingsUpdatedGraphicId
:
Ref
<
string
|
null
,
string
|
null
,
>
;
selectedGraphicSettingsUpdateRequestId
:
Ref
<
number
,
number
>
;
selectedSegmentKey
:
Ref
<
string
|
null
,
string
|
null
>
;
selectedVertexKey
:
Ref
<
string
|
null
,
string
|
null
>
;
selectGraphic
:
(
id
:
string
)
=>
void
;
setActiveTool
:
(
tool
:
ActiveToolList
)
=>
void
;
setBorderColor
:
(
color
:
string
)
=>
void
;
setBufferColor
:
(
color
:
string
)
=>
void
;
setBufferDistance
:
(
distance
:
number
)
=>
void
;
setBufferSettings
:
(
settings
:
Partial
<
DrawBufferSettings
>
)
=>
void
;
setBufferUnit
:
(
unit
:
DrawBufferUnit
)
=>
void
;
setFillColor
:
(
color
:
string
)
=>
void
;
setGraphicMapLabelSettings
:
(
id
:
string
,
settings
:
Partial
<
DrawMapLabelSettings
>
,
)
=>
void
;
setHoveredSegmentKey
:
(
key
:
string
|
null
)
=>
void
;
setHoveredVertexKey
:
(
key
:
string
|
null
)
=>
void
;
setIdentifyBufferMode
:
(
mode
:
DrawIdentifyBufferMode
)
=>
void
;
setIdentifyGeometryGraphicId
:
(
id
:
string
|
null
)
=>
void
;
setMeasurementsEnabled
:
(
enabled
:
boolean
)
=>
void
;
setOpacity
:
(
opacity
:
number
)
=>
void
;
setSelectedGraphicBorderColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicBufferColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicBufferDistance
:
(
distance
:
number
)
=>
void
;
setSelectedGraphicBufferSettings
:
(
settings
:
Partial
<
DrawBufferSettings
>
,
)
=>
void
;
setSelectedGraphicBufferUnit
:
(
unit
:
DrawBufferUnit
)
=>
void
;
setSelectedGraphicFillColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicIdentifyBufferMode
:
(
mode
:
DrawIdentifyBufferMode
,
)
=>
void
;
setSelectedGraphicOpacity
:
(
opacity
:
number
)
=>
void
;
setSelectedGraphicStyleSettings
:
(
settings
:
Partial
<
DrawStyleSettings
>
,
)
=>
void
;
setSelectedSegmentKey
:
(
key
:
string
|
null
)
=>
void
;
setSelectedVertexKey
:
(
key
:
string
|
null
)
=>
void
;
setShapeDetailsActiveTab
:
(
tab
:
DrawShapeInspectorTab
)
=>
void
;
setShapeDetailsLabelsUseSettings
:
(
useSettings
:
boolean
)
=>
void
;
setShapeDetailsLabelsVisible
:
(
visible
:
boolean
)
=>
void
;
setShapeDetailsPickEnabled
:
(
enabled
:
boolean
)
=>
void
;
setShapeFeatureCounts
:
(
id
:
string
,
counts
:
DrawShapeFeatureCounts
,
)
=>
void
;
setShapeFeatureCountsLoading
:
(
id
:
string
)
=>
void
;
setStyleSettings
:
(
settings
:
Partial
<
DrawStyleSettings
>
)
=>
void
;
setSupportedTypes
:
(
types
:
DrawTypeConfig
[]
)
=>
void
;
shapeDetailsActiveTab
:
Ref
<
DrawShapeInspectorTab
,
DrawShapeInspectorTab
>
;
shapeDetailsLabelsUseSettings
:
Ref
<
boolean
,
boolean
>
;
shapeDetailsLabelsVisible
:
Ref
<
boolean
,
boolean
>
;
shapeDetailsPickEnabled
:
Ref
<
boolean
,
boolean
>
;
shapeFeatureCounts
:
Record
<
string
,
DrawShapeFeatureCounts
>
;
shapePanelFocusRequestId
:
Ref
<
number
,
number
>
;
stopEditModeClearSelection
:
Ref
<
boolean
,
boolean
>
;
stopEditModeRequestId
:
Ref
<
number
,
number
>
;
styleSettings
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
supportedTypes
:
Ref
<
{
enabled
?:
boolean
;
options
?:
Record
<
string
,
any
>
;
type
:
string
}
[]
,
|
DrawTypeConfig
[]
|
{
enabled
?:
boolean
;
options
?:
Record
<
string
,
any
>
;
type
:
string
}
[]
,
>
;
toggleMeasurements
:
()
=>
void
;
toggleShapeDetailsPickEnabled
:
()
=>
void
;
updateGraphic
:
(
id
:
string
,
updates
:
any
)
=>
void
;
updateGraphicGeometry
:
(
id
:
string
,
geometry
:
any
)
=>
void
;
}
,
"activeSegmentKey"
|
"activeVertexKey"
,
>
,
Pick
<
{
activeSegmentKey
:
ComputedRef
<
string
|
null
>
;
activeTool
:
Ref
<
ActiveToolList
,
ActiveToolList
>
;
activeVertexKey
:
ComputedRef
<
string
|
null
>
;
addGraphic
:
(
graphic
:
any
)
=>
any
;
bufferSettings
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
cancelEditModeClearSelection
:
Ref
<
boolean
,
boolean
>
;
cancelEditModeRequestId
:
Ref
<
number
,
number
>
;
clearImportShapes
:
(
requestId
?:
number
)
=>
void
;
clearMeasurementInteraction
:
()
=>
void
;
clearSelection
:
()
=>
void
;
configParsed
:
Ref
<
boolean
,
boolean
>
;
deleteSelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
editSelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
getSelectedGraphic
:
()
=>
any
;
graphics
:
Reactive
<
any
[]
>
;
hoveredSegmentKey
:
Ref
<
string
|
null
,
string
|
null
>
;
hoveredVertexKey
:
Ref
<
string
|
null
,
string
|
null
>
;
identifyBufferMode
:
Ref
<
DrawIdentifyBufferMode
,
DrawIdentifyBufferMode
>
;
identifyGeometryGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
identifySelectedGraphicRequestId
:
Ref
<
number
,
number
>
;
importShapeRecords
:
Ref
<
{
geometry
:
unknown
;
id
?:
string
;
settings
:
{
drawBuffer
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
drawIdentifyBufferMode
:
DrawIdentifyBufferMode
;
drawMapLabels
:
{
areaLabel
:
boolean
;
segmentLength
:
boolean
;
segmentLetters
:
boolean
;
vertexNumbers
:
boolean
;
}
;
drawStyle
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
}
;
type
:
string
;
}
[]
,
|
DrawShapeExportRecord
[]
|
{
geometry
:
unknown
;
id
?:
string
;
settings
:
{
drawBuffer
:
{
distance
:
number
;
unit
:
DrawBufferUnit
}
;
drawIdentifyBufferMode
:
DrawIdentifyBufferMode
;
drawMapLabels
:
{
areaLabel
:
boolean
;
segmentLength
:
boolean
;
segmentLetters
:
boolean
;
vertexNumbers
:
boolean
;
}
;
drawStyle
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
}
;
type
:
string
;
}
[]
,
>
;
importShapesRequestId
:
Ref
<
number
,
number
>
;
mapLabelSettingsUpdatedGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
mapLabelSettingsUpdateRequestId
:
Ref
<
number
,
number
>
;
mapNavEl
:
Ref
<
unknown
,
unknown
>
;
measurementsEnabled
:
Ref
<
boolean
,
boolean
>
;
refreshSelectedGraphicFeatureCountsRequestId
:
Ref
<
number
,
number
>
;
removeGraphic
:
(
id
:
string
)
=>
void
;
requestCancelEditMode
:
(
clearSelection
?:
boolean
)
=>
void
;
requestDeleteSelectedGraphic
:
()
=>
void
;
requestEditSelectedGraphic
:
()
=>
void
;
requestIdentifySelectedGraphic
:
()
=>
void
;
requestImportShapes
:
(
shapes
:
DrawShapeExportRecord
[]
)
=>
void
;
requestRefreshSelectedGraphicFeatureCounts
:
()
=>
void
;
requestShapePanelFocus
:
()
=>
void
;
requestStopEditMode
:
(
clearSelection
?:
boolean
)
=>
void
;
selectedGraphicId
:
Ref
<
string
|
null
,
string
|
null
>
;
selectedGraphicSettingsUpdatedGraphicId
:
Ref
<
string
|
null
,
string
|
null
,
>
;
selectedGraphicSettingsUpdateRequestId
:
Ref
<
number
,
number
>
;
selectedSegmentKey
:
Ref
<
string
|
null
,
string
|
null
>
;
selectedVertexKey
:
Ref
<
string
|
null
,
string
|
null
>
;
selectGraphic
:
(
id
:
string
)
=>
void
;
setActiveTool
:
(
tool
:
ActiveToolList
)
=>
void
;
setBorderColor
:
(
color
:
string
)
=>
void
;
setBufferColor
:
(
color
:
string
)
=>
void
;
setBufferDistance
:
(
distance
:
number
)
=>
void
;
setBufferSettings
:
(
settings
:
Partial
<
DrawBufferSettings
>
)
=>
void
;
setBufferUnit
:
(
unit
:
DrawBufferUnit
)
=>
void
;
setFillColor
:
(
color
:
string
)
=>
void
;
setGraphicMapLabelSettings
:
(
id
:
string
,
settings
:
Partial
<
DrawMapLabelSettings
>
,
)
=>
void
;
setHoveredSegmentKey
:
(
key
:
string
|
null
)
=>
void
;
setHoveredVertexKey
:
(
key
:
string
|
null
)
=>
void
;
setIdentifyBufferMode
:
(
mode
:
DrawIdentifyBufferMode
)
=>
void
;
setIdentifyGeometryGraphicId
:
(
id
:
string
|
null
)
=>
void
;
setMeasurementsEnabled
:
(
enabled
:
boolean
)
=>
void
;
setOpacity
:
(
opacity
:
number
)
=>
void
;
setSelectedGraphicBorderColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicBufferColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicBufferDistance
:
(
distance
:
number
)
=>
void
;
setSelectedGraphicBufferSettings
:
(
settings
:
Partial
<
DrawBufferSettings
>
,
)
=>
void
;
setSelectedGraphicBufferUnit
:
(
unit
:
DrawBufferUnit
)
=>
void
;
setSelectedGraphicFillColor
:
(
color
:
string
)
=>
void
;
setSelectedGraphicIdentifyBufferMode
:
(
mode
:
DrawIdentifyBufferMode
,
)
=>
void
;
setSelectedGraphicOpacity
:
(
opacity
:
number
)
=>
void
;
setSelectedGraphicStyleSettings
:
(
settings
:
Partial
<
DrawStyleSettings
>
,
)
=>
void
;
setSelectedSegmentKey
:
(
key
:
string
|
null
)
=>
void
;
setSelectedVertexKey
:
(
key
:
string
|
null
)
=>
void
;
setShapeDetailsActiveTab
:
(
tab
:
DrawShapeInspectorTab
)
=>
void
;
setShapeDetailsLabelsUseSettings
:
(
useSettings
:
boolean
)
=>
void
;
setShapeDetailsLabelsVisible
:
(
visible
:
boolean
)
=>
void
;
setShapeDetailsPickEnabled
:
(
enabled
:
boolean
)
=>
void
;
setShapeFeatureCounts
:
(
id
:
string
,
counts
:
DrawShapeFeatureCounts
,
)
=>
void
;
setShapeFeatureCountsLoading
:
(
id
:
string
)
=>
void
;
setStyleSettings
:
(
settings
:
Partial
<
DrawStyleSettings
>
)
=>
void
;
setSupportedTypes
:
(
types
:
DrawTypeConfig
[]
)
=>
void
;
shapeDetailsActiveTab
:
Ref
<
DrawShapeInspectorTab
,
DrawShapeInspectorTab
>
;
shapeDetailsLabelsUseSettings
:
Ref
<
boolean
,
boolean
>
;
shapeDetailsLabelsVisible
:
Ref
<
boolean
,
boolean
>
;
shapeDetailsPickEnabled
:
Ref
<
boolean
,
boolean
>
;
shapeFeatureCounts
:
Record
<
string
,
DrawShapeFeatureCounts
>
;
shapePanelFocusRequestId
:
Ref
<
number
,
number
>
;
stopEditModeClearSelection
:
Ref
<
boolean
,
boolean
>
;
stopEditModeRequestId
:
Ref
<
number
,
number
>
;
styleSettings
:
{
borderColor
:
string
;
borderColorManual
:
boolean
;
bufferColor
:
string
;
bufferColorManual
:
boolean
;
fillColor
:
string
;
opacity
:
number
;
}
;
supportedTypes
:
Ref
<
{
enabled
?:
boolean
;
options
?:
Record
<
string
,
any
>
;
type
:
string
}
[]
,
|
DrawTypeConfig
[]
|
{
enabled
?:
boolean
;
options
?:
Record
<
string
,
any
>
;
type
:
string
}
[]
,
>
;
toggleMeasurements
:
()
=>
void
;
toggleShapeDetailsPickEnabled
:
()
=>
void
;
updateGraphic
:
(
id
:
string
,
updates
:
any
)
=>
void
;
updateGraphicGeometry
:
(
id
:
string
,
geometry
:
any
)
=>
void
;
}
,
|
"setOpacity"
|
"setSupportedTypes"
|
"setActiveTool"
|
"addGraphic"
|
"removeGraphic"
|
"selectGraphic"
|
"clearSelection"
|
"requestDeleteSelectedGraphic"
|
"requestEditSelectedGraphic"
|
"requestIdentifySelectedGraphic"
|
"requestStopEditMode"
|
"requestCancelEditMode"
|
"requestRefreshSelectedGraphicFeatureCounts"
|
"requestShapePanelFocus"
|
"requestImportShapes"
|
"clearImportShapes"
|
"getSelectedGraphic"
|
"updateGraphicGeometry"
|
"updateGraphic"
|
"setGraphicMapLabelSettings"
|
"setSelectedGraphicStyleSettings"
|
"setSelectedGraphicFillColor"
|
"setSelectedGraphicBorderColor"
|
"setSelectedGraphicBufferColor"
|
"setSelectedGraphicOpacity"
|
"setSelectedGraphicBufferSettings"
|
"setSelectedGraphicBufferDistance"
|
"setSelectedGraphicBufferUnit"
|
"setSelectedGraphicIdentifyBufferMode"
|
"setMeasurementsEnabled"
|
"toggleMeasurements"
|
"setHoveredSegmentKey"
|
"setSelectedSegmentKey"
|
"setHoveredVertexKey"
|
"setSelectedVertexKey"
|
"clearMeasurementInteraction"
|
"setShapeDetailsPickEnabled"
|
"setShapeDetailsLabelsVisible"
|
"setShapeDetailsLabelsUseSettings"
|
"setShapeDetailsActiveTab"
|
"toggleShapeDetailsPickEnabled"
|
"setFillColor"
|
"setBorderColor"
|
"setBufferColor"
|
"setStyleSettings"
|
"setBufferDistance"
|
"setBufferUnit"
|
"setBufferSettings"
|
"setIdentifyBufferMode"
|
"setIdentifyGeometryGraphicId"
|
"setShapeFeatureCounts"
|
"setShapeFeatureCountsLoading"
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
RAMP4 - v4.21.0
Loading...