Class: ThemeInfo

ThemeInfo() → {Promise.<ThemeInfo>}

new ThemeInfo() → {Promise.<ThemeInfo>}

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

Methods

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

获取标题
Source:
Returns:
标题
Type
String

(async, static) getGeoInfo(geomType) → {Promise.<GeomInfo>}

根据图形类型设置图形信息
Parameters:
Name Type Description
geomType Number 图形信息类型(int类型的Number),例:0-GeomType.GeomUnknown
Source:
Returns:
成功返回图形信息
Type
Promise.<GeomInfo>

(async, static) getIsVisible() → {boolean}

获取是否可见
Source:
Returns:
Type
boolean

(async, static) getMaxScale() → {double}

获取最大显示比
Source:
Returns:
Type
double

(async, static) getMinScale() → {double}

获取最小显示比
Source:
Returns:
Type
double

(async, static) setCaption(caption) → {Promise.<Void>}

设置标题
Parameters:
Name Type Description
caption String 标题
Source:
Returns:
Type
Promise.<Void>

(async, static) setGeoInfo(geomInfo) → {Promise.<Void>}

设置图形信息
Parameters:
Name Type Description
geomInfo Object 图形信息
Source:
Returns:
Type
Promise.<Void>

(async, static) setIsVisible(isVisible) → {Promise.<Void>}

设置是否可见
Parameters:
Name Type Description
isVisible boolean 是否可见
Source:
Returns:
Type
Promise.<Void>

(async, static) setMaxScale(maxScale) → {Promise.<Void>}

设置最大显示比
Parameters:
Name Type Description
maxScale double 最大显示比
Source:
Returns:
Type
Promise.<Void>

(async, static) setMinScale(minScale) → {Promise.<Void>}

设置最小显示比
Parameters:
Name Type Description
minScale double 最小显示比
Source:
Returns:
Type
Promise.<Void>

ThemeInfo()

new ThemeInfo()

专题绘制信息
Source:

Methods

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

获取标题
Source:
Returns:
标题
Type
String

(async, static) getGeoInfo(geomType) → {Promise.<GeomInfo>}

根据图形类型设置图形信息
Parameters:
Name Type Description
geomType Number 图形信息类型(int类型的Number),例:0-GeomType.GeomUnknown
Source:
Returns:
成功返回图形信息
Type
Promise.<GeomInfo>

(async, static) getIsVisible() → {boolean}

获取是否可见
Source:
Returns:
Type
boolean

(async, static) getMaxScale() → {double}

获取最大显示比
Source:
Returns:
Type
double

(async, static) getMinScale() → {double}

获取最小显示比
Source:
Returns:
Type
double

(async, static) setCaption(caption) → {Promise.<Void>}

设置标题
Parameters:
Name Type Description
caption String 标题
Source:
Returns:
Type
Promise.<Void>

(async, static) setGeoInfo(geomInfo) → {Promise.<Void>}

设置图形信息
Parameters:
Name Type Description
geomInfo Object 图形信息
Source:
Returns:
Type
Promise.<Void>

(async, static) setIsVisible(isVisible) → {Promise.<Void>}

设置是否可见
Parameters:
Name Type Description
isVisible boolean 是否可见
Source:
Returns:
Type
Promise.<Void>

(async, static) setMaxScale(maxScale) → {Promise.<Void>}

设置最大显示比
Parameters:
Name Type Description
maxScale double 最大显示比
Source:
Returns:
Type
Promise.<Void>

(async, static) setMinScale(minScale) → {Promise.<Void>}

设置最小显示比
Parameters:
Name Type Description
minScale double 最小显示比
Source:
Returns:
Type
Promise.<Void>