Check a map's information

Feedback


You can also check the map information by specifying its id. For example, send a GET request on the following url:

http:// 192.168.15.118:8190/iportal/web/maps/id.json

Where, 192.168.15.118 is the ip of the iPortal host machine, id is the map's id, which can be got from content[index].id -- the result of Retrieving a specified map.

For the code to retrieve the map information, please refer to: Retrieve a specified map.

The result's structure:

Name

Type

Description

units

String

The map unit. Defaults to 'degrees'. Optional values: 'degrees' (or 'dd'), 'm', 'ft', 'km', 'mi', 'inches'.

level

Integer

The map's zooming level.

center

Point2D

The map's center point.

controls

List<String>

The controls of the map.

createTime

Long

The created time of the map.

description

String

The map's description.

epsgCode

Integer

The corresponding EPSG code of the projected coordinate system.

extent

Rectangle2D

The map's extent.

id

Integer

The identifier of the map.

status

ViewerMapStatus

[Expired] The map's status. SuperMap iPortal 7C(2016) Beta and above no longer uses this parameter.

tags

List<String>

The tags of the map.

userName

String

The map's author.

visitCount

Integer

The map's visit counts.

layers

List<Layer>

The layers list of the map.

title

String

The map name.

thumbnail

String

The thumbnail's path.

sourceType

SourceType

The map's source type.

isDefaultBottomMap

Boolean

Whether the map is the default basemap.

authorizeSetting

List<IportalAuthorizeEntity>

The map's authorization information.

updateTime

Long

The map's update time.