<maps_uri>/bottommap[.<format>]
Whether to update in batch with default base map.
Supported Methods:
Supported output formats: RJSON, JSON, HTML and XML.
Execute the HTTP request on the following URI, where supermapiportal is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/maps/bottommap.rjson
Whether to update in batch with default base map.
Following arguments need to be passed in the request sent.
Name | Type | Description |
ids | List<Integer> | Map ID list. |
isBottomMap | Boolean | Whether it is base map. |
The structure of the response resource representation is as follows:
Field | Type | Description |
succeed | boolean | Whether the base map is successfully updated in batch. |
error | Httperror | Error information. The field will not display if the base map is successfully updated in batch. |
Execute PUT request on bootomMap resource http://localhost:8090/iportal/web/maps/bottommap.rjson. The batch update base map is the default map. The request body is as follows:
{
"isBottomMap": true,
"ids": [
1,
2
]
}
The response result in rjson format returned is as follows:
{"succeed": true}