Fetch Regional Catalog
Regional Catalog is a service metadata index listing available offline map regions and its details, serving as a resource to discover downloadable regions. This section deals with fetching the online region catalog, combining catalog data with local installation state, and fetching package details before starting a regional map download.
Fetch the regional catalog
The region catalog commonly has the following fields:
| Field | Description |
|---|---|
regionId | Unique region identifier used by download and management APIs |
name | Display name |
adminL0/adminL1/adminL3 | Administrative hierarchy |
version | Server-side region version, suitable for update detection |
timestamp | Server-side resource timestamp |
totalSize | Estimated download size in bytes |
tileCount | Number of tiles in the region |
Query the online catalog and local installations together
Execute queryRegions whenever the user interface requires both current catalog listings and regional installation statuses. Should the client lack network connectivity, the remote catalog returns empty results while locally stored regions remain accessible.
When the device is offline, the online catalog may be empty, but locally installed regions remain available.