Update map color by Place
This API lets you change the color of each Place on the map as needed.
This API lets you change the color of each Place on the map as needed.
📍 PUT /open-api/v1/map/{id}
Request Header
| Key | Value | Description |
|---|---|---|
| api-key | {YOUR\_API\_Key} |
Path Parameter
| Key | Value | Description |
|---|---|---|
| Place ID | {YOUR\_Place\_ID} | ID of the Place |
Map editor API request body: change the color of a Place
※ Add the fields you want to change under properties.
200
{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}
Map editor API cURL request example (PUT)
curl --location --request PUT 'https://space.api-freegrow.com/open-api/v1/map/a3'
--header 'api-key: {YOUR_API_KEY}'
--header 'Content-Type: application/json'
--data '{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}'
Related guides
- GrowStudio API Common Guide
- Get Place UID List
- Get Details by Place UID
- Update Details by Place UID
- Get Project geojson
- Get geojson by floor
To learn how to use the service, see the GrowStudio guide here.