Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICGeoJSONLayerOptions

Cesium下矢量图层的构造参数

export
interface

ICGeoJSONLayerOptions

Hierarchy

Index

Properties

allowPointCollisionDetect?: boolean

是否允许开启点的碰撞检测,默认不允许,此时样式中点的avoidCollision失效(标签的仍然生效) 如果希望点本身也支持碰撞检测,请开启该选项,同时设置样式中的avoidCollision为true。

cacheDrawOptions?: boolean

是否缓存图层样式。如果是每次刷新都要更新样式,请设置为false。默认为true。

memberof

ICGeoJSONLayerOptions

collisionCreateAll?: boolean

是否在碰撞检测之前(如果在样式中开启了)预先创建所有对象 预先创建会消耗较多时间,但是后续检测会加速,否则每次检测完成后会重新创建对象,每次消耗的时间类似,第一次加载会比较快。 默认预先创建,当存在大量文本的时候建议更换为每次创建。

memberof

ICGeoJSONLayerOptions

debugShowPerformance?: boolean

是否开启调试模式下的信息显示。如果为false,即使处于调试模式也不会显示相关调试信息。默认为false。

memberof

ICGeoJSONLayerOptions

destroyPrimitives?: boolean

是否在图元被移除的时候销毁图元

memberof

IPrimitiveCollectionsOptions

handleResize?: boolean
lineTop?: boolean
name?: string
pickType?: "none" | "all"

数据拾取的方式。默认为none,不进行数据拾取。

memberof

ICGeoJSONLayerOptions

show?: boolean

是否显示

memberof

IPrimitiveCollectionsOptions

trackDataSource?: boolean

是否监听数据源的更新消息,如果监听则更新后自动触发重绘。默认为false。

memberof

ICGeoJSONLayerOptions

view?: CView

Generated using TypeDoc