C# 클래스 ESRI.ArcGIS.Client.Toolkit.DataSources.HeatMapLayer

Heat Map layer
상속: DynamicLayer, ILegendSupport, ISupportsDynamicImageByteRequests
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-sl-wpf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GradientProperty System.Windows.DependencyProperty
IntensityProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
HeatMapLayer ( ) : System

Initializes a new instance of the HeatMapLayer class.

QueryLegendInfos ( Action callback, Action errorCallback ) : void

Queries for the legend infos of a layer.

The returned result is encapsulated in a LayerLegendInfo object containing one legend item showing the heat map gradient.

보호된 메소드들

메소드 설명
Cancel ( ) : void

Stops loading of any pending images

GetSource ( DynamicLayer properties, DynamicLayer onComplete ) : void

Gets the source image to display in the dynamic layer. Override this to generate or modify images.

비공개 메소드들

메소드 설명
AddPoint ( ushort distanceMatrix, int size, int x, int y, int intensityMap, int width ) : void

Adds a heat map point to the intensity matrix.

CreateDistanceMatrix ( int size ) : ushort[]

Creates the distance matrix.

ISupportsDynamicImageByteRequests ( DynamicLayer properties, OnImageDataReceived onImageDataReceived ) : void
InterpolateColor ( float value, List stops ) : Color

Lienarly interpolates a color from a list of colors.

OnGradientPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

GradientProperty property changed handler.

OnIntensityPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IntervalProperty property changed handler.

OnLegendChanged ( ) : void
heatMapPoints_CollectionChanged ( object sender, System e ) : void

Handles the CollectionChanged event of the heatMapPoints control.

renderThread_DoWork ( object sender, DoWorkEventArgs e ) : void

Handles the DoWork event of the renderThread control. This is where we render the heatmap outside the UI thread.

renderThread_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Handles the ProgressChanged event of the renderThread control and fires the layer progress event.

renderThread_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Handles the RunWorkerCompleted event of the renderThread control.

메소드 상세

Cancel() 보호된 메소드

Stops loading of any pending images
protected Cancel ( ) : void
리턴 void

GetSource() 보호된 메소드

Gets the source image to display in the dynamic layer. Override this to generate or modify images.
protected GetSource ( DynamicLayer properties, DynamicLayer onComplete ) : void
properties DynamicLayer The image export properties.
onComplete DynamicLayer The method to call when the image is ready.
리턴 void

HeatMapLayer() 공개 메소드

Initializes a new instance of the HeatMapLayer class.
public HeatMapLayer ( ) : System
리턴 System

QueryLegendInfos() 공개 메소드

Queries for the legend infos of a layer.
The returned result is encapsulated in a LayerLegendInfo object containing one legend item showing the heat map gradient.
public QueryLegendInfos ( Action callback, Action errorCallback ) : void
callback Action The method to call on completion.
errorCallback Action The method to call in the event of an error.
리턴 void

프로퍼티 상세

GradientProperty 공개적으로 정적으로 프로퍼티

Identifies the Gradient dependency property.
public static DependencyProperty,System.Windows GradientProperty
리턴 System.Windows.DependencyProperty

IntensityProperty 공개적으로 정적으로 프로퍼티

Identifies the Intensity dependency property.
public static DependencyProperty,System.Windows IntensityProperty
리턴 System.Windows.DependencyProperty