Skip to content
Guides API

OfflineMapParameterOverrides

OfflineMapParameterOverrides = object

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

Overrides for offline.generateOfflineMap that narrow the tile-cache scale range, producing a smaller download. Both values follow the ArcGIS scale convention (larger number = more zoomed out; 0 means “no limit” on that end).

Applied via GenerateOfflineMapParameterOverrides: each ExportTileCacheParameters entry in the overrides object has its levelIDs list trimmed to the subset that falls within [minScale, maxScale]. Vector-tile entries are not affected (the SDK exposes no per-entry scale filter for ExportVectorTilesParameters).

optional maxScale?: number

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

Finest scale to include (innermost/highest-detail level). 0 = no fine limit. E.g. 5000 drops levels finer than 1:5 000, meaningfully reducing download size.


optional minScale?: number

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

Coarsest scale to include (outermost/lowest-detail level). 0 = no coarse limit. E.g. 100000 keeps levels finer than 1:100 000.


optional referenceBasemapDirectory?: string

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

Folder containing referenceBasemapFilename. Required when that is set.


optional referenceBasemapFilename?: string

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

Use a basemap already on the device instead of downloading one. The basemap is by far the largest part of an offline map, so pointing at a file you ship or side-load cuts the download to the operational layers alone.

Name the file (e.g. basemap.tpkx), and set referenceBasemapDirectory to the folder holding it. Tile and vector-tile packages have always worked; ArcGIS 300.1 added georeferenced PDFs and raster files.