new SymbolLayer()
- Source:
- View2D/Layer/SymbolLayer.js
Members
-
icon-allow-overlap :Boolean
-
重叠可见
Type:
- Boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-color :color
-
图层颜色。
Type:
- color
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-halo-blur :number
-
图标光晕模糊度。
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-halo-color :color
-
图标的光环的颜色。
Type:
- color
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-halo-width :number
-
图标轮廓的距离
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-ignore-placement :Boolean
-
符号可见
Type:
- Boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-image :string
-
图标图片
Type:
- string
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-keep-upright :boolean
-
是否翻转。
Type:
- boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-offset :enum
-
图标偏移。
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-opacity :number
-
透明度
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-optional :Boolean
-
如果是真的,文本将显示相应的图标时,图标没有与其他符号和文字不碰撞。
Type:
- Boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-padding :number
-
用于检测符号冲突的图标边界范围的附加区域的大小。
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-rotate :number
-
顺时针旋转图标
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-rotation-alignment :enum
-
在与符号放置的组合,确定图标的旋转行为
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-size :number
-
图标大小
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-text-fit :enum
-
尺度的图标。
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-text-fit-padding :array
-
图标文本大小适合。
Type:
- array
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-translate :array
-
几何偏移。
Type:
- array
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
icon-translate-anchor :enum
-
几何偏移固定。
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
symbol-avoid-edges :Boolean
-
符号避免边缘
Type:
- Boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
symbol-placement :enum
-
标签放置位置。
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
symbol-spacing :number
-
两个符号之间的距离。
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-allow-overlap :boolean
-
重叠可见
Type:
- boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-anchor :enum
-
文本偏移
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-color :color
-
文字颜色
Type:
- color
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-field :string
-
文本标签的值
Type:
- string
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-font :array
-
文本字体。
Type:
- array
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-halo-blur :number
-
文字光晕模糊度。
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-halo-color :color
-
文字的光环的颜色
Type:
- color
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-halo-width :number
-
文字轮廓的距离
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-ignore-placement :boolean
-
符号可见
Type:
- boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-justify :enum
-
文本对齐
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-keep-upright :boolean
-
是否翻转
Type:
- boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-letter-spacing :number
-
文本跟踪量
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-line-height :number
-
文本最大线高
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-max-angle :number
-
相邻字符之间的最大角度变化。
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-max-width :number
-
文本最大线宽
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-offset :enum
-
文本偏移
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-opacity :number
-
透明度
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-optional :boolean
-
如果是真的,文本将显示相应的图标时,图标没有与其他符号和文字不碰撞
Type:
- boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-padding :number
-
附加区域的大小
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-pitch-alignment :enum
-
文字倾斜方向
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-rotate :number
-
顺时针旋转文本
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-rotate-alignment :enum
-
文字旋转
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-size :number
-
文本字体大小
Type:
- number
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-transform :enum
-
文本变换
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-translate :array
-
几何偏移
Type:
- array
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
text-translate-anchor :enum
-
几何偏移固定
Type:
- enum
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
-
visibility :Boolean
-
图层是否可见
Type:
- Boolean
- Default Value:
-
- null
- Source:
- View2D/Layer/SymbolLayer.js
Methods
-
initialize(options)
-
GeoGlobe.Layer构造函数。
Parameters:
Name Type Description options
Object 图层相关选项设置。 - Source:
- View2D/Layer/SymbolLayer.js