<mycontent_uri>/maps[.<format>]
myMaps is the collection of all the maps created by the current user.
Supported Methods:
Supported output formats: rjson, json, html, xml.
Execute the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/mycontent/maps.rjson
Gets the list of all the maps created by the current user.
If this parameter is not set, then the list of maps on the first page will be returned. If the parameter is set, the list of the maps specified by the user will be returned. The request parameters are included in URI.
Name | Type | Description |
userNames |
String[] | Filter by map author name. This parameter has expired, that is, SuperMap iPortal 9D or higher version will no longer use this parameter. |
tags | String[] | Filter by map tag. |
suggest | Boolean | Whether it is the default basemap. |
sourceTypes | SourceType[] | Filter by map source, including SUPERMAP_REST, MAPVIEWER, WMS, WMTS. |
mapStatus | ViewerMapStatus | Filter by map status. This parameter is outdated and not used any more in 8C and higher versions. |
keywords | String[] | Filter by keyword. |
epsgCode | int | Gets the map of the specified projection. |
orderBy | OrderBy[] | Sort field. Multiple fields can be used in sorting. |
orderType | OrderType | Sort by ascending or descending. |
currentPage | int | Page number. |
pageSize | int | Page size. |
updateStart | Long | Query all the maps that are updated at this time and after this time. If this parameter value is null or less than 0, then the start time is infinite. |
updateEnd | Long | Query all the maps that are updated at this time and before this time. If this parameter value is null or less than 0, then the end time is infinite. |
visitStart | Long | Query all the maps that are accessed at this time and after this time. If this parameter value is null or less than 0, then the start time is infinite. |
visitEnd | Long | Query all the maps that are accessed at this time and before this time. If this parameter value is null or less than 0, then the start time is infinite. |
filterFields | FilterFields[] | Field filtering for keyword queries. Field names need to be capitalized. For example, to filter according to the key characters of map creator, you need to set: keywords=["admin"]&filterFields=["NICKNAME"]. |
checkStatus | CheckStatus | Filter according to audit status. |
Execute a GET request on the myMaps resource to return the list of all the maps that the current user is allowed to check. It includes the following fields:
Field | Type | Description |
content | List<ViewerMap> | Page content. |
currentPage | int | The current page number. |
pageSize | int | The size of each page. |
searchParameter | SearchParameter | The search parameter for the current page. |
total | int | The total record number. |
totalPage | int | The total number of pages. |
The returned rjson format representation after executing the GET request on the myMaps resource http://localhost:8090/iportal/web/mycontent/maps.rjson is as follows:
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.
HEAD request can be used to check if the myMaps resource exists, or if the myMaps resource can be accessed by clients. It can also determine if the myMaps resource supports an output format <format> if performed on a URI with .<format> included.