LegendProps
LegendProps =
ViewProps&object
Defined in: packages/expo-arcgis-toolkit/src/Legend.tsx:17
Type Declaration
Section titled “Type Declaration”geoView?
Section titled “geoView?”
optionalgeoView?:RefObject<GeoViewHandle|null>
The view the legend is for: a <MapView>, <SceneView> or <LocalSceneView> ref.
Default
Section titled “Default”the view the legend is placed inrespectScaleRange?
Section titled “respectScaleRange?”
optionalrespectScaleRange?:boolean
Leaves out the layers that don’t draw at the view’s current scale.
Default
Section titled “Default”truereverseLayerOrder?
Section titled “reverseLayerOrder?”
optionalreverseLayerOrder?:boolean
Lists the layers from the bottom one up.
Default
Section titled “Default”falsetitle?
Section titled “title?”
optionaltitle?:string
The heading; an empty string shows none.
Default
Section titled “Default”the Toolkit's ("Legend", localized)typography?
Section titled “typography?”
optionaltypography?:object
The Toolkit’s Typography: text styles for its title, layer names and symbol labels.
typography.layerName?
Section titled “typography.layerName?”
optionallayerName?:LegendTextStyle
typography.legendInfoName?
Section titled “typography.legendInfoName?”
optionallegendInfoName?:LegendTextStyle
typography.subLayerName?
Section titled “typography.subLayerName?”
optionalsubLayerName?:LegendTextStyle
typography.title?
Section titled “typography.title?”
optionaltitle?:LegendTextStyle