Table of Contents

Sparse spatial map list and preview

EasyAR Spatial Map usually stores a large amount of spatial map data. This chapter describes how to get Spatial Map details and paginated lists.

Manage sparse maps through EasyAR Web

In the visual interface, the system displays sparse maps as a paginated list by default and sorts them in reverse order by last modified time (the latest changes are listed first).

Sparse map list

Operation path: log in to EasyAR Web [Developer Center] -> [SpatialMap] -> select gallery -> click [Manage].

In this interface, you can perform the following operations:

  • List browsing: view the paginated Spatial Map collection.

  • Details entry: click [Manage] for button 1 in the image to enter the map details page.

  • Precise search: input box 2 supports the following search methods:

    • Search by name: if your system names images by rules, such as in-app IDs, you can quickly locate them by name.
    • Search by MapId
    • Search by Label, GPS: supported only by Search API

    filter

Spatial Map details

After clicking into the details page, you can view the complete properties of the Spatial Map, including:

  • Preview: preview image.
  • Name: Spatial Map name.
  • MapId: unique ID generated by the system.
  • status: enabled or disabled.
  • Label: custom label for convenient search, supports Search API query.
  • GPS: gps of the space, custom coordinate system, supports Search API query.
  • Custom Meta: metadata associated with this Spatial Map, such as model URL.

detail

Use API to view the Spatial Map list

For developers who need integration with their own backend, REST API management is recommended.

Reference document: Spatial Map map list API

Preparation checklist

Before sending a request, make sure the following resources are obtained. See API call preparation checklist for details:

  • SpatialMap AppId
  • API Key / Secret or Token
  • Cloud URL
    • Users in China and Southeast Asia select: https://armap-api.easyar.com
    • Other users select: https://armap-api-na1.easyar.com

Replace the placeholders with actual parameters and run the curl script.

  • Your-URL -> actual Cloud URL
  • Your-Token -> actual API Key Authorization Token
  • Your-SpatialMap-AppId -> actual SpatialMap appId
curl -X GET "https://armap-api-<cn1|na1>.easyar.com/maps?appId=<Your-SpatialMap-AppId>" \
  -H "Content-Type: application/json" \
  -H "Authorization: <Your-Token>" 

Next topic: