DictionaryRendererProp
DictionaryRendererProp =
object
Defined in: src/ExpoArcgis.types.ts:206
Styles a <FeatureLayer> with a DictionarySymbolStyle (military / emergency symbology).
Provide either styleName (a web-style name hosted on ArcGIS Online, e.g. "mil2525d") or
portalItemUrl (a direct URL whose id= query parameter is used as the portal item id).
At least one must be set; portalItemUrl takes precedence when both are provided.
The style is loaded asynchronously via the SDK’s Loadable mechanism. The layer’s renderer is
updated once the load completes. If the load fails the renderer is left unchanged and an error
is printed to the native log.
Example
Section titled “Example”// web style by name — resolves against ArcGIS Online (anonymous)<FeatureLayer url={...} dictionaryRenderer={{ styleName: 'mil2525d' }} />
// explicit portal item URL (item id extracted automatically)<FeatureLayer url={...} dictionaryRenderer={{ portalItemUrl: 'https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30' }} />Properties
Section titled “Properties”portalItemUrl?
Section titled “portalItemUrl?”
optionalportalItemUrl?:string
Defined in: src/ExpoArcgis.types.ts:219
Full URL to a portal item hosting the dictionary symbol style.
The item id is extracted from the id= query-string parameter, e.g.:
https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30
Takes precedence over styleName when both are provided.
styleName?
Section titled “styleName?”
optionalstyleName?:string
Defined in: src/ExpoArcgis.types.ts:212
Web-style name (e.g. "mil2525d", "mil2525c", "app6b").
Resolved against ArcGIS Online (https://www.arcgis.com) as an anonymous portal item.
portalItemUrl takes precedence when both are set.