点击或拖拽改变大小

HeatLayer 类

热力图层
继承层次
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      GISShare.SMap.WPF.LayerBaseLayer
        GISShare.SMap.WPF.LayerGraphicsLayer
          GISShare.SMap.WPF.LayerClusterLayer
            GISShare.SMap.WPF.LayerHeatLayer

命名空间:  GISShare.SMap.WPF.Layer
程序集:  GISShare.SMap.WPF (在 GISShare.SMap.WPF.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法
public class HeatLayer : ClusterLayer, IHeatLayer, 
	IClusterLayer, IGraphicsLayer, ILayer, ILayerCore, IDisposable, 
	IElementCollection, IEnumerable

The HeatLayer type exposes the following members.

构造函数
  名称说明
公共方法HeatLayer
热力图层(构造函数)
Top
属性
  名称说明
公共属性AlphaChannelMax
Alpha通道最大值(默认为50,有效值0-255)
公共属性AlphaChannelMin
Alpha通道最小值(默认为0,有效值0-255)
公共属性ClassifySymbolCollection
分级符号集合(用户可以自定义设置)
(继承自 ClusterLayer。)
公共属性ClusterThreshold
聚类阀值(最小值是1)
(继承自 ClusterLayer。)
公共属性ColorBlend
色带
公共属性Count
获取其携带的IElement总数
(继承自 GraphicsLayer。)
公共属性DominantIndex
优先索引(在CTRGraphicsLayer中无效)
(继承自 GraphicsLayer。)
公共属性eClusterStyle
集类的方式
(继承自 ClusterLayer。)
公共属性ElementCollection
待聚类元素集合
(继承自 ClusterLayer。)
公共属性Extent
图层视图范围
(继承自 ClusterLayer。)
公共属性Item
获取IElement 通过 索引
(继承自 GraphicsLayer。)
公共属性Lock
读取锁的状态
(继承自 GraphicsLayer。)
公共属性MapGridExtent
地图网格聚类所必需的地图网格视图范围
(继承自 ClusterLayer。)
公共属性MaximumScale
最大可见比例尺
(继承自 BaseLayer。)
公共属性MaxWeight
热点最大权重值
公共属性MinimumScale
最小可见比例尺
(继承自 BaseLayer。)
公共属性Name
名称
(继承自 BaseLayer。)
公共属性Opacity
透明度(该属性并非所有图层都有效)
(继承自 BaseLayer。)
公共属性PixelQuality
像素质量(质量小于等于0质量最高)
公共属性Radius
热力图半径
公共属性SpatialReference
空间参考
(继承自 GraphicsLayer。)
公共属性Text
描述
(继承自 BaseLayer。)
公共属性TextFormat
聚合文本显示的框架(默认为"{0}")
(继承自 ClusterLayer。)
公共属性VirtualExtension
使用虚拟拓展(该属性并非所有图层都有效)
(继承自 BaseLayer。)
公共属性Visible
可见性
(继承自 BaseLayer。)
Top
方法
  名称说明
公共方法Add
添加一个 IElement
(继承自 GraphicsLayer。)
公共方法AddHeatElement
添加一个热点数据(集合的实质是ElementCollection)
受保护的方法CancelDraw
是否取消绘制
(继承自 GraphicsLayer。)
公共方法Clear
清空 IElement元素
(继承自 GraphicsLayer。)
公共方法ClearHeatElement
清除所有热点数据(集合的实质是ElementCollection)
公共方法ContainsElementByName
获取包含的 IElement 个数 通过 名称
(继承自 GraphicsLayer。)
公共方法CreateHeatDotSymbol
创建一个热点符号
受保护的方法DataProcessing
渲染画布(内置的方法便于继承修改)
(继承自 ClusterLayer。)
公共方法DeleteElementByName
删除 IElement 通过 名称
(继承自 GraphicsLayer。)
公共方法Dispose
释放
(覆写 ClusterLayerDispose.)
受保护的方法DrawTypeFilter
绘制类型过滤器
(继承自 GraphicsLayer。)
受保护的方法ElementFilter
元素过滤器
(继承自 GraphicsLayer。)
受保护的方法ElementProcess
IElement元素后处理函数
(继承自 GraphicsLayer。)
公共方法GetElementByClientXY
获取 IElement 通过 客户端坐标(基于可视化进行的查询,当元素和图层不可见查询失效)
(继承自 GraphicsLayer。)
公共方法GetElementByClientXYEx
获取 IElement 通过 客户端坐标(基于可视化进行的查询,当元素和图层不可见查询失效)
(继承自 GraphicsLayer。)
公共方法GetElementByName
获取 IElement 通过 名称
(继承自 GraphicsLayer。)
公共方法GetElementsByClientXY
获取 IElement 通过 客户端坐标(基于可视化进行的查询,当元素和图层不可见查询失效)
(继承自 GraphicsLayer。)
公共方法GetElementsByClientXYEx
获取 IElement 通过 客户端坐标(基于可视化进行的查询,当元素和图层不可见查询失效)
(继承自 GraphicsLayer。)
公共方法GetElementsByName
获取 IElement 通过 名称
(继承自 GraphicsLayer。)
公共方法GetEnumerator
返回循环访问的枚举数
(继承自 GraphicsLayer。)
公共方法GetVisibleInfo
获取指定比例尺范围下可见状态
(继承自 BaseLayer。)
公共方法IndexExchange
元素索引交换
(继承自 GraphicsLayer。)
公共方法IndexOf
获取IElement索引
(继承自 GraphicsLayer。)
公共方法Insert
加入一个 IElement元素
(继承自 GraphicsLayer。)
受保护的方法NoDrawItem
是否不存在待绘制的元素
(继承自 ClusterLayer。)
公共方法OnDraw
绘制
(继承自 GraphicsLayer。)
受保护的方法OnPropertyChanged
在更改属性值时调用
(继承自 BaseLayer。)
公共方法QueryEditable
查询该对象在当前视图条件下是否可编辑
(继承自 ClusterLayer。)
受保护的方法QueryElementByClientXYEx
判断Element元素与坐标点的关系
(继承自 GraphicsLayer。)
公共方法QueryGeoDrawItemByClientXY
获取 IGeoDrawItem 通过 客户端坐标
(继承自 GraphicsLayer。)
受保护的方法QueryGroupElementByClientXYEx
判断GroupElement元素与坐标点的关系
(继承自 GraphicsLayer。)
公共方法QuerySymbolByValue
通过值获取一个可用的符号
(覆写 ClusterLayerQuerySymbolByValue(Double).)
公共方法RemoveAt
移除IElement 通过 索引
(继承自 GraphicsLayer。)
公共方法RemoveHeatElementAt
移除热点数据 通过 索引(集合的实质是ElementCollection,索引可通过 ElementCollection.IndexOf() 获得)
受保护的方法RenderGraphics
渲染画布(内置的方法便于继承修改)
(覆写 GraphicsLayerRenderGraphics(DrawType, IDisplay, IDrawArgs).)
公共方法ResetClassifySymbolCollection
重置分级符号集合并使用系统默认值(内部会自动调用ResetHeatElementSymbol)
(覆写 ClusterLayerResetClassifySymbolCollection.)
公共方法ResetExtent
重置视图范围
(继承自 GraphicsLayer。)
公共方法ResetHeatDotSample
重置热力图样本(当AlphaChannelMin、AlphaChannelMax和Radius改变后需要调用ResetHeatDotSample)
公共方法ResetHeatElementSymbol
重置热力图元素符号(当ClassifySymbolCollection发生改变,或ResetHeatDotSample重置后需要调用ResetHeatElementSymbol)
公共方法ResetMapGridExtent
重置地图网格聚类所必需的地图网格视图范围
(继承自 ClusterLayer。)
Top
事件
  名称说明
公共事件PropertyChanged
在更改属性值时发生
(继承自 BaseLayer。)
Top
参见