Class: CoordinateConvertParameter

CoordinateConvertParameter()

new CoordinateConvertParameter()

坐标转换参数
Source:

Methods

(async, static) createObj() → {Promise.<CoordinateConvertParameter>}

构造一个新的CoordinateConvertParameter对象
Source:
Returns:
Type
Promise.<CoordinateConvertParameter>

(async, static) getDestCoordinateType() → {Number}

获取目标坐标类型
Source:
Returns:
目标坐标类型(int类型的Number,例:0--CoordinateType.BAIDU_LngLat)
Type
Number

(async, static) getSrcCoordinateType() → {Number}

获取源坐标类型
Source:
Returns:
源坐标类型(int类型的Number,例:0--CoordinateType.BAIDU_LngLat)
Type
Number

(async, static) setDestCoordinateType(destCoordinateType) → {Promise.<CoordinateConvertParameter>}

设置转换的目标坐标类型 必设参数
Parameters:
Name Type Description
destCoordinateType Number 目标坐标类型(int类型的Number,例:0--CoordinateType.BAIDU_LngLat)
Source:
Returns:
Type
Promise.<CoordinateConvertParameter>

(async, static) setSrcCoordinateType(srcCoordinateType) → {Promise.<CoordinateConvertParameter>}

设置转换的源坐标类型 必设参数
Parameters:
Name Type Description
srcCoordinateType Number 源坐标类型(int类型的Number,例:0--CoordinateType.BAIDU_LngLat)
Source:
Returns:
Type
Promise.<CoordinateConvertParameter>