---
schema_version: "1"
id: cf3a9bc9f3f4f1540a7686b6819764309ba2210854c4eb87d4582af8c644d266
title: Charts Maps List Resource
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/bi_dev_guide_rest/bi_resources_eclair_maps.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_resources_eclair_maps.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 33a5a5628b237e7ca78db22c3968c20f61b7d119959b94ec3d2c2c9afccf0f32
description: Returns a list of maps or creates a map.
---
# Charts Maps List Resource

Returns a list of maps or creates a map.

Resource URL

/eclair/maps

Formats

JSON

Available Version

38.0

HTTP Methods

GET POST

Request parameters for GET

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| page | Int | The page number you want to view. | Optional | 38.0 |
| page​Size | Int | The number of items to be returned in a single page. Minimum is 1, maximum is 200, and default is 25. | Optional | 38.0 |

Response body for GET

[Map Collection](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_map_collection.htm "A collection of maps.")

Request parameters for POST

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| geo​Map​Object | [Map​Input](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_requests_map_input.htm "A map for an Eclair chart.") | All the relevant information about the map, such as {"label": "My Map"}. | Required | 39.0 |

Response body for POST

[Map](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_map.htm "A map object.")

The following JSON shows how to create a map resource from a GeoJson file with the optional bounding box.

{
  "boundingBox": {
    "bottom": 40.5534,
    "left": -80.251,
    "right": -79.8211
    "top": 40.3287
  },
  "geoData": {
    "id": "<id\_of\_geodata\_resource>"
  },
  "name":"developer\_name\_for\_map",
  "label": "display\_label\_for\_map",
  "projection" : "equirectangular"
}