C# Class csCommon.Plugins.MgrsGrid.MgrsEsriLayer

Inheritance: DynamicLayer, ISupportsDynamicImageByteRequests
Mostrar archivo Open project: TNOCS/csTouch

Public Methods

Method Description
Convert ( System.Windows.Media.Imaging.BitmapSource pBS ) : BitmapImage
GenerateImage ( FrameworkElement pFE, int pWidth, int pHeight ) : BitmapImage
GenerateImage1 ( int pWidth, int pHeight, double pDpi, Action pRender ) : System.Windows.Media.Imaging.BitmapSource
MgrsEsriLayer ( MgrsConfig pCfg ) : csShared

Initializes a new instance of the HeatMapLayer class.

Protected Methods

Method Description
GetSource ( DynamicLayer properties, DynamicLayer onComplete ) : void

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

Private Methods

Method Description
ISupportsDynamicImageByteRequests ( DynamicLayer properties, OnImageDataReceived onImageDataReceived ) : void

Method Details

Convert() public static method

public static Convert ( System.Windows.Media.Imaging.BitmapSource pBS ) : BitmapImage
pBS System.Windows.Media.Imaging.BitmapSource
return System.Windows.Media.Imaging.BitmapImage

GenerateImage() public static method

public static GenerateImage ( FrameworkElement pFE, int pWidth, int pHeight ) : BitmapImage
pFE System.Windows.FrameworkElement
pWidth int
pHeight int
return System.Windows.Media.Imaging.BitmapImage

GenerateImage1() public static method

public static GenerateImage1 ( int pWidth, int pHeight, double pDpi, Action pRender ) : System.Windows.Media.Imaging.BitmapSource
pWidth int
pHeight int
pDpi double
pRender Action
return System.Windows.Media.Imaging.BitmapSource

GetSource() protected method

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.
return void

MgrsEsriLayer() public method

Initializes a new instance of the HeatMapLayer class.
public MgrsEsriLayer ( MgrsConfig pCfg ) : csShared
pCfg MgrsConfig
return csShared