ArcGisSpatialReference Class

ArcGis.ArcGisSpatialReference(options)

Fx构造函数

# new ArcGisSpatialReference(options)

ArcGis服务

参数:
名称 类型 属性 描述
options Object

必选项,构造点对象参数。

wkid Number <optional>

可选项。空间坐标系编号。如:4326、3857。

wkt String <optional>

可选项。空间坐标系的描述信息。

作者:
  • 基础平台-杨琨

查看源代码 service/ArcGis/SpatialReference.js, line 6

方法

# equals(sr) → {boolean}

比较两个空间坐标系对象是否相等,如果wkid和wkt相等,怎犯规true。

参数:
名称 类型 描述
sr ArcGisSpatialReference

必选项,要比较的ArcGisSpatialReference对象。

查看源代码 service/ArcGis/SpatialReference.js, line 43

是否相等。

boolean