查看地图信息

发送反馈


您也可以通过执行 GET 请求实现对指定地图详细信息的查看,例如 url 为:

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

注意,192.168.15.118为 iPortal 主机 ip 地址,id 为地图 id, 可以从查找指定地图的结果 content[index].id 得到。

获得地图详细信息的代码请参考:查找指定地图

其结果结构如下:

名称

类型

含义

units

String

地图的单位。默认是'degrees'。

可选值为'degrees'(或者'dd')、‘m’、'ft'、'km'、'mi'、'inches'。

level

Integer

地图的缩放级别。

center

Point2D

地图的中心点。

controls

List<String>

地图显示控件集合。

createTime

Long

创建日期。

description

String

地图描述信息。

epsgCode

Integer

投影坐标系对应的 EPSG 代码。

extent

Rectangle2D

地图的范围。

id

Integer

地图唯一标识。

status

ViewerMapStatus

地图状态 save、publish。该参数已过期,即 SuperMap iPortal 7C(2016) Beta 版或更高版本将不再沿用此参数。

tags

List<String>

地图标签。

userName

String

用户名。

visitCount

Integer

地图的访问次数。

layers

List<Layer>

地图的图层列表。

title

String

地图名称。

thumbnail

String

地图的缩略图路径。

sourceType

SourceType

地图的来源类型。

isDefaultBottomMap

Boolean

是否是默认底图。

authorizeSetting

List<IportalAuthorizeEntity>

授权信息。

updateTime

Long

更新时间。