Map ID
If you are unsure where to get the Map ID we've got you covered.
You can utilize our APIs to retrieve Map Ids. Fetch all available maps by using the following API call and passing your API key. Once obtained, you can retrieve the specific map id you need.
Try fetch the map ids related to your Atlas map(s) in the "Sandbox":
Here is the request curl.
curl --request GET \
--url 'https://app-api.geposit.se/v2.0/maps?api_key=<your_api_key>' \
--header 'accept: application/json'
This is how the response will look like!
[
{
"id": "map1",
"user_id": "user1",
"created_at": "2022-11-09T08:59:03.67938Z",
"updated_at": "2024-02-09T07:53:51.528736Z",
"name": "Map1",
"description": "",
"thumbnail_url": "https://geposit-map1-url",
"flags": [
"object.owner"
],
"team_id": "team1",
"tenant_id": "tenant1",
"point_attribute_id": "",
"polygon_attribute_id": "polyattrId",
"enable_geography_update": false,
"geography_update_threshold": 0,
"users_thumbnail": false,
"keep_removed_geographies": false
},
{
"id": "map2",
"user_id": "user2",
"created_at": "2022-11-09T08:59:03.67938Z",
"updated_at": "2024-02-09T07:53:51.528736Z",
"name": "Map2",
"description": "",
"thumbnail_url": "https://geposit-map2-url",
"flags": [
"object.owner"
],
"team_id": "team1",
"tenant_id": "tenant1",
"point_attribute_id": "",
"polygon_attribute_id": "polyattrId",
"enable_geography_update": false,
"geography_update_threshold": 0,
"users_thumbnail": false,
"keep_removed_geographies": false
},
...
]
Also, you can switch on the Show Object Ids and retrieve the Map Id from the web application itself. On the page where you can view all your maps, you can copy your map id as follows.
Updated 10 months ago