---
title: "Get maps on the location hierarchy."
method: GET
path: "/locations/tree/maps"
tags: ["Location"]
---

# Get maps on the location hierarchy.

`GET /locations/tree/maps`

Get maps on the location hierarchy with pagination.

## Query parameters

- `page` integer
- `limit` integer
- `locationId` integer
- `expandChildren` boolean

## Response `200`

OK

- PagedXiqLocationTreeMap
  - `page` integer, required — The current page number
  - `count` integer, required — The element count of the current page
  - `total_pages` integer, required — The total page number based on request page size
  - `total_count` integer, required — The total element count
  - `data` XiqLocationTreeMap[] — The data in the current page
    - `map_name` string, required — The background map name.
    - `width` number, double — The x-dimension of the map in pixels.
    - `height` number, double — The y-dimension of the map in pixels.
    - `data` string, required — The base-64 encoded string of the map.

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
