继承关系
成员变量
成员变量概述
名称 | 类型 | 描述 |
---|---|---|
capabilities |
Array.<String>
|
|
clippingArea |
Polygon
|
Extent
|
Circle
|
MultiPolygon
|
null
|
|
currentStyleInfo |
Object
|
|
data |
Object
|
|
labelsRenderMode |
String
|
|
mapVOptions |
Object
|
|
mvtExtent |
Number
|
|
style |
Object
|
|
tileInfo |
TileInfo
|
undefined
|
|
type |
String
|
|
url |
String
|
|
成员变量详情
Object
# readonly currentStyleInfo
当前的矢量瓦片样式信息,包含serviceUrl 、styleUrl 、spriteUrl 、glyphsUrl 以及style
- Inherited From:
String
# labelsRenderMode
指定矢量瓦片注记的渲染模式,仅在三维上有效; on-screen: 使用Cesium接口实时渲染注记; off-screen: 使用矢量瓦片来绘制注记; 请注意模式切换时,会造成性能损失,在显卡较弱的机器上会出现卡顿现象;
- Inherited From:
方法
方法概述
名称 | 返回值类型 | 描述 |
---|---|---|
clone |
MapVLayer
|
|
deleteStyleLayer |
|
|
getExtendProperties |
Any
|
|
getLayoutProperties |
Object
|
null
|
|
getPaintProperties |
Object
|
null
|
|
getStyleLayer |
Object
|
|
getStyleLayerId |
String
|
|
getStyleLayerIndex |
Number
|
|
getStyleLayerVisibility |
Boolean
|
|
setExtendProperties |
|
|
setLayoutProperties |
|
|
setPaintProperties |
|
|
setStyleLayer |
|
|
setStyleLayerVisibility |
|
|
toJSON |
Object
|
|
方法详情
# getExtendProperties(styleLayerId, key)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
key |
String | 额外属性的属性名 |
- Inherited From:
额外属性的属性值
Any
# getLayoutProperties(styleLayerId)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
- Inherited From:
样式图层布局属性
Object
|
null
# getPaintProperties(styleLayerId)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
- Inherited From:
返回样式图层绘制属性
Object
|
null
# getStyleLayerIndex(styleLayerId)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层的id |
- Inherited From:
样式图层的序号
Number
# getStyleLayerVisibility(styleLayerId)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
- Inherited From:
样式图层可见性状态
Boolean
# setExtendProperties(styleLayerId, key, value)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
key |
String | 额外属性的属性名 |
value |
Any | 额外属性的属性值 |
- Inherited From:
# setLayoutProperties(styleLayerId, layout)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
layout |
Object | 布局属性 |
- Inherited From:
# setPaintProperties(styleLayerId, paint)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
paint |
Object | 绘制属性 |
- Inherited From:
# setStyleLayer(styleLayer, index)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayer |
Object | 样式图层对象 |
index |
String | 样式图层顺序 |
- Inherited From:
# setStyleLayerVisibility(styleLayerId, visible)
参数
名称 | 类型 | 描述 |
---|---|---|
styleLayerId |
String | 样式图层id |
visible |
Boolean | 可见性 |
- Inherited From: