Skip to content

MapViewHandle

MapViewHandle = object

Defined in: src/ExpoArcgis.types.ts:443

Imperative handle exposed by <MapView> via ref.

getBookmarkNames(): Promise<string[]>

Defined in: src/ExpoArcgis.types.ts:463

Names of the displayed map’s bookmarks (e.g. those saved in a loaded web map).

Promise<string[]>


identify(screenPoint, options?): Promise<IdentifyResult[]>

Defined in: src/ExpoArcgis.types.ts:448

Identifies the features under a screen point (in points, e.g. from onTap’s screenPoint). Returns one IdentifyResult per layer that has hits.

number

number

number

number

Promise<IdentifyResult[]>


identifyPopups(screenPoint, options?): Promise<PopupResult[]>

Defined in: src/ExpoArcgis.types.ts:456

Identifies popups under a screen point and evaluates them — returns each popup’s title and its formatted fields. Requires the layers to have popups enabled.

number

number

number

number

Promise<PopupResult[]>


retryLoad(): Promise<void>

Defined in: src/ExpoArcgis.types.ts:461

Retries loading the map after a failure (e.g. a network outage). Re-fires onMapLoaded/onMapLoadError.

Promise<void>


setBookmark(name): Promise<boolean>

Defined in: src/ExpoArcgis.types.ts:465

Navigates to the named bookmark’s viewpoint; resolves to whether a matching bookmark was found.

string

Promise<boolean>