MapProps
MapProps =
object
Defined in: src/ExpoArcgis.types.ts:43
Props for the <Map> model component — mirror the configurable properties of the
native ArcGISMap. Reconciled into the underlying SharedObject via applyProps.
Properties
Section titled “Properties”basemap?
Section titled “basemap?”
optionalbasemap?:BasemapStyle
Defined in: src/ExpoArcgis.types.ts:45
Basemap style. Defaults to arcGISTopographic. Ignored when portalItem is set.
basemapLanguage?
Section titled “basemapLanguage?”
optionalbasemapLanguage?:string
Defined in: src/ExpoArcgis.types.ts:53
Language for basemap place-name labels. Only applies when basemap is a built-in style string.
Special values: "global" — English worldwide; "local" — local place names;
"default" — SDK default; "applicationLocale" — device locale.
Any other value is treated as a BCP-47 language tag (e.g. "fr", "ar", "zh-Hans").
Corresponds to BasemapStyleParameters.language on both platforms.
basemapWorldview?
Section titled “basemapWorldview?”
optionalbasemapWorldview?:string
Defined in: src/ExpoArcgis.types.ts:59
Worldview code for disputed-boundary rendering. Only applies when basemap is a built-in style.
Known codes: "CN", "IN", "IL", "JP", "MA", "PK", "KR", "AE", "US", "VN".
Corresponds to BasemapStyleParameters.worldview on both platforms.
bookmarks?
Section titled “bookmarks?”
optionalbookmarks?:object[]
Defined in: src/ExpoArcgis.types.ts:87
Named saved viewpoints stored on the map. Replaces the map’s bookmark list each time the prop
changes. Each entry creates a native Bookmark(name, Viewpoint(latitude, longitude, scale)).
Navigation to a bookmark is done separately via the <MapView viewpoint> prop.
name:
string
viewpoint
Section titled “viewpoint”viewpoint:
object
viewpoint.latitude
Section titled “viewpoint.latitude”latitude:
number
viewpoint.longitude
Section titled “viewpoint.longitude”longitude:
number
viewpoint.scale
Section titled “viewpoint.scale”scale:
number
initialViewpoint?
Section titled “initialViewpoint?”
optionalinitialViewpoint?:Viewpoint
Defined in: src/ExpoArcgis.types.ts:73
Center + scale applied when the map first loads.
maxExtent?
Section titled “maxExtent?”
optionalmaxExtent?:Geometry
Defined in: src/ExpoArcgis.types.ts:71
Constrains panning to this envelope — the user cannot scroll the map outside this extent.
Must be an envelope geometry. Omit (or pass undefined) to remove the constraint.
Maps to maxExtent on both platforms.
mobileMapPackagePath?
Section titled “mobileMapPackagePath?”
optionalmobileMapPackagePath?:string
Defined in: src/ExpoArcgis.types.ts:81
Display an offline map from a mobile map package (.mmpk) at this local path — e.g. the
directory returned by offline.generateOfflineMap. The package loads asynchronously and the
map appears once ready.
portalItem?
Section titled “portalItem?”
optionalportalItem?:PortalItem
Defined in: src/ExpoArcgis.types.ts:75
Load the map from an ArcGIS web map. Construction-only (set once; remount to change).
referenceScale?
Section titled “referenceScale?”
optionalreferenceScale?:number
Defined in: src/ExpoArcgis.types.ts:65
The scale at which feature symbols and text are drawn at their authored size. Features scale
relative to this value as the user zooms in and out. Set to 0 (or omit) to disable reference
scaling. Maps to referenceScale on both platforms.