geoview-core - v2.1.2
Preparing search index...
useLayerStoreActions
Function useLayerStoreActions
useLayerStoreActions
()
:
{
deleteLayer
:
(
layerPath
:
string
,
undoWindowDuration
:
number
,
)
=>
Promise
<
boolean
>
;
deleteLayerAbort
:
(
layerPath
:
string
)
=>
void
;
getExtentFromFeatures
:
(
layerPath
:
string
,
featureIds
:
number
[]
,
outfield
?:
string
,
)
=>
Promise
<
Extent
>
;
getLayerAllowedMosaicMethods
:
(
layerPath
:
string
,
)
=>
TypeMosaicMethod
[]
|
undefined
;
getLayerRasterFunction
:
(
layerPath
:
string
)
=>
string
|
undefined
;
getLayerRasterFunctionInfos
:
(
layerPath
:
string
,
)
=>
TypeMetadataEsriRasterFunctionInfos
[]
|
undefined
;
getLayerRasterFunctionPreviews
:
(
layerPath
:
string
,
)
=>
Map
<
string
,
Promise
<
string
>
>
;
getLayerServiceProjection
:
(
layerPath
:
string
)
=>
string
|
undefined
;
getLayerSettings
:
(
layerPath
:
string
)
=>
string
[]
;
getLayerWmsAvailableStyles
:
(
layerPath
:
string
,
)
=>
TypeMetadataWMSCapabilityLayerStyle
[]
|
undefined
;
getLayerWmsStyle
:
(
layerPath
:
string
)
=>
string
|
undefined
;
queryLayerEsriDynamic
:
(
layerPath
:
string
,
objectIDs
:
number
[]
,
)
=>
Promise
<
TypeFeatureInfoEntryPartial
[]
>
;
refreshLayer
:
(
layerPath
:
string
)
=>
Promise
<
void
>
;
reloadLayer
:
(
layerPath
:
string
)
=>
void
;
setAllItemsVisibility
:
(
layerPath
:
string
,
visibility
:
boolean
)
=>
void
;
setAllItemsVisibilityAndWait
:
(
layerPath
:
string
,
visibility
:
boolean
,
)
=>
Promise
<
void
>
;
setDisplayState
:
(
newDisplayState
:
TypeLayersViewDisplayState
)
=>
void
;
setHighlightLayer
:
(
layerPath
:
string
)
=>
void
;
setLayerHoverable
:
(
layerPath
:
string
,
enable
:
boolean
)
=>
void
;
setLayerMosaicRule
:
(
layerPath
:
string
,
mosaicRule
:
TypeMosaicRule
|
undefined
,
)
=>
void
;
setLayerMosaicRuleAscending
:
(
layerPath
:
string
,
value
:
boolean
)
=>
void
;
setLayerMosaicRuleMethod
:
(
layerPath
:
string
,
value
:
TypeMosaicMethod
,
)
=>
void
;
setLayerMosaicRuleOperation
:
(
layerPath
:
string
,
value
:
TypeMosaicOperation
,
)
=>
void
;
setLayerOpacity
:
(
layerPath
:
string
,
opacity
:
number
,
updateLegendLayers
?:
boolean
,
)
=>
void
;
setLayerQueryable
:
(
layerPath
:
string
,
enable
:
boolean
)
=>
void
;
setLayerRasterFunction
:
(
layerPath
:
string
,
rasterFunctionId
:
string
,
)
=>
void
;
setLayerWmsStyle
:
(
layerPath
:
string
,
wmsStyleName
:
string
)
=>
void
;
setSelectedLayerPath
:
(
layerPath
:
string
|
undefined
)
=>
void
;
toggleItemVisibility
:
(
layerPath
:
string
,
item
:
TypeLegendItem
)
=>
void
;
toggleItemVisibilityAndWait
:
(
layerPath
:
string
,
item
:
TypeLegendItem
,
)
=>
Promise
<
void
>
;
zoomToLayerExtent
:
(
layerPath
:
string
)
=>
Promise
<
void
>
;
zoomToLayerVisibleScale
:
(
layerPath
:
string
)
=>
void
;
}
Returns
{
deleteLayer
:
(
layerPath
:
string
,
undoWindowDuration
:
number
,
)
=>
Promise
<
boolean
>
;
deleteLayerAbort
:
(
layerPath
:
string
)
=>
void
;
getExtentFromFeatures
:
(
layerPath
:
string
,
featureIds
:
number
[]
,
outfield
?:
string
,
)
=>
Promise
<
Extent
>
;
getLayerAllowedMosaicMethods
:
(
layerPath
:
string
,
)
=>
TypeMosaicMethod
[]
|
undefined
;
getLayerRasterFunction
:
(
layerPath
:
string
)
=>
string
|
undefined
;
getLayerRasterFunctionInfos
:
(
layerPath
:
string
,
)
=>
TypeMetadataEsriRasterFunctionInfos
[]
|
undefined
;
getLayerRasterFunctionPreviews
:
(
layerPath
:
string
,
)
=>
Map
<
string
,
Promise
<
string
>
>
;
getLayerServiceProjection
:
(
layerPath
:
string
)
=>
string
|
undefined
;
getLayerSettings
:
(
layerPath
:
string
)
=>
string
[]
;
getLayerWmsAvailableStyles
:
(
layerPath
:
string
,
)
=>
TypeMetadataWMSCapabilityLayerStyle
[]
|
undefined
;
getLayerWmsStyle
:
(
layerPath
:
string
)
=>
string
|
undefined
;
queryLayerEsriDynamic
:
(
layerPath
:
string
,
objectIDs
:
number
[]
,
)
=>
Promise
<
TypeFeatureInfoEntryPartial
[]
>
;
refreshLayer
:
(
layerPath
:
string
)
=>
Promise
<
void
>
;
reloadLayer
:
(
layerPath
:
string
)
=>
void
;
setAllItemsVisibility
:
(
layerPath
:
string
,
visibility
:
boolean
)
=>
void
;
setAllItemsVisibilityAndWait
:
(
layerPath
:
string
,
visibility
:
boolean
,
)
=>
Promise
<
void
>
;
setDisplayState
:
(
newDisplayState
:
TypeLayersViewDisplayState
)
=>
void
;
setHighlightLayer
:
(
layerPath
:
string
)
=>
void
;
setLayerHoverable
:
(
layerPath
:
string
,
enable
:
boolean
)
=>
void
;
setLayerMosaicRule
:
(
layerPath
:
string
,
mosaicRule
:
TypeMosaicRule
|
undefined
,
)
=>
void
;
setLayerMosaicRuleAscending
:
(
layerPath
:
string
,
value
:
boolean
)
=>
void
;
setLayerMosaicRuleMethod
:
(
layerPath
:
string
,
value
:
TypeMosaicMethod
,
)
=>
void
;
setLayerMosaicRuleOperation
:
(
layerPath
:
string
,
value
:
TypeMosaicOperation
,
)
=>
void
;
setLayerOpacity
:
(
layerPath
:
string
,
opacity
:
number
,
updateLegendLayers
?:
boolean
,
)
=>
void
;
setLayerQueryable
:
(
layerPath
:
string
,
enable
:
boolean
)
=>
void
;
setLayerRasterFunction
:
(
layerPath
:
string
,
rasterFunctionId
:
string
,
)
=>
void
;
setLayerWmsStyle
:
(
layerPath
:
string
,
wmsStyleName
:
string
)
=>
void
;
setSelectedLayerPath
:
(
layerPath
:
string
|
undefined
)
=>
void
;
toggleItemVisibility
:
(
layerPath
:
string
,
item
:
TypeLegendItem
)
=>
void
;
toggleItemVisibilityAndWait
:
(
layerPath
:
string
,
item
:
TypeLegendItem
,
)
=>
Promise
<
void
>
;
zoomToLayerExtent
:
(
layerPath
:
string
)
=>
Promise
<
void
>
;
zoomToLayerVisibleScale
:
(
layerPath
:
string
)
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
geoview-core - v2.1.2
Loading...