Class: VectorMapServer

VectorMapServer()

new VectorMapServer()

矢量地图服务
Source:

Methods

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

创建一个新的VectorMapServer对象
Source:
Returns:
Type
Promise.<VectorMapServer>

(async, static) freeVectorImage(buf) → {int}

释放矢量图像数据
Parameters:
Name Type Description
buf Array 矢量图像数据
Source:
Returns:
1-成功 ;0-失败
Type
int

(async, static) getCRS(index) → {String}

获取索引对应的动态参照系名称
Parameters:
Name Type Description
index int 参照系索引
Source:
Returns:
参照系名称
Type
String

(async, static) getCRSCount() → {int}

获取动态参照系个数
Source:
Returns:
照系个数
Type
int

(async, static) getCurrentCRS() → {String}

获取当前动态参照系名称
Source:
Returns:
参照系名称
Type
String

(async, static) getVectorImage() → {Array}

获取矢量图像
Source:
Returns:
矢量图像数据 (int类型的Array)
Type
Array

(async, static) setCurrentCRS(strCRS) → {int}

设置当前动态参照系名称
Parameters:
Name Type Description
strCRS String 参照系名称
Source:
Returns:
1-成功 ;0-失败
Type
int