Properties that can be passed into the constructor for ArcGISGeocoder.

interface ArcGISGeocoderProperties {
    $portalItem?: PortalItemLike;
    addressSchema?: SchemaProperties;
    attachmentTypes?: string[];
    categories?: string[];
    countryCode?: string;
    defaultAddressValues?: Record<string, unknown>;
    failureMode?: FailureMode;
    featureActions?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>;
    featureSettings?: FeatureSettingsProperties;
    featureSourceActions?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>;
    hyperlinks?: (HyperlinkProperties | Hyperlink)[];
    iconUrl?: string;
    id?: string;
    onAddFeature?: Action;
    onEditFeature?: Action;
    relationships?: (Relationship | RelationshipProperties)[];
    requestHelper?: ArcGISRequestHelper;
    schema?: SchemaProperties;
    taskSettings?: TaskSettingsProperties;
    title?: string;
    url?: string;
}

Hierarchy (view full)

Properties

$portalItem?: PortalItemLike

When present, the geocoder will be loaded from the given item in Portal.

addressSchema?: SchemaProperties
attachmentTypes?: string[]
categories?: string[]
countryCode?: string
defaultAddressValues?: Record<string, unknown>
failureMode?: FailureMode

A menu for actions specifically related to features from this source.

featureSettings?: FeatureSettingsProperties

A menu for actions specifically related to this source.

hyperlinks?: (HyperlinkProperties | Hyperlink)[]
iconUrl?: string
id?: string

The unique ID to assign to the entity. If not specified, one will be generated.

onAddFeature?: Action
onEditFeature?: Action
relationships?: (Relationship | RelationshipProperties)[]
requestHelper?: ArcGISRequestHelper
taskSettings?: TaskSettingsProperties
title?: string
url?: string