User Tools

Site Tools


thinkgeo.mapsuite.core.kmlrasterlayer

This is an old revision of the document!


ThinkGeo.MapSuite.Core.KmlRasterLayer

Class KmlRasterLayer.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.Layer
      • ThinkGeo.MapSuite.Core.RasterLayer
        • ThinkGeo.MapSuite.Core.KmlRasterLayer

Members Summary

Public Constructors

KmlRasterLayer()

Initializes a new instance of the class.

Remarks

If you use this constructor, you should set the properties you need manually.

Parameters

KmlRasterLayer(String)

Initializes a new instance of the class.

Remarks

N/A

Parameters
  • kmlPathFilename
    • Type:String
    • Description:The KML path filename.

Protected Constructors

Public Methods

GetProjectionText()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

GetHorizontalResolution()

N/A

Remarks

N/A

Return Value
  • Type:Single
  • Description:N/A
Parameters

GetVerticalResolution()

N/A

Remarks

N/A

Return Value
  • Type:Single
  • Description:N/A
Parameters

GetThreadSafetyLevel()

N/A

Remarks

N/A

Return Value
Parameters

CloneDeep()

N/A

Remarks

N/A

Return Value
  • Type:Layer
  • Description:N/A
Parameters

Open()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBox()

N/A

Remarks

N/A

Return Value
Parameters

Draw(GeoCanvas,Collection<SimpleCandidate>)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(RectangleShape)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(IEnumerable<RectangleShape>)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(TimeSpan)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(RectangleShape,TimeSpan)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

DrawCore(GeoCanvas,Collection<SimpleCandidate>)

This method will draw the image from the GeoImage source based on the parameters provided.

Remarks

The DrawCore method will be called when the layer is being drawn. It will determine if the image is within the extent and the threshold defined. If these parameters are met, it will query the RasterSource for an image and then apply the other various properties (such as transparency, etc.) on the image. Lastly, it will draw the image on the GeoImage or native image passed into the method.

Return Value
  • Type:Void
  • Description:None
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:This parameter is the GeoCanvas used to Draw the RasterLayer.
  • labelsInAllLayers
    • Type:Collection<SimpleCandidate>
    • Description:This parameter is not used for ImageLayers.

OpenCore()

This method opens the RasterLayer so that it is initialized and ready to use.

Remarks

The open method plays an important rol,e as it is responsible for initializing the RasterLayer. Most methods on the RasterLayer will throw an exception if the state of the RasterLayer is not opened. When the map draws each layer, it will open the RasterLayer as one of its first steps; then, after it is finished drawing with that layer, it will close it. In this way, we are sure to release all resources used by the RasterLayer.

Return Value
  • Type:Void
  • Description:None
Parameters

CloseCore()

This method opens the RasterLayer so that it is initialized and ready to use.

Remarks

The close method plays an important role in the life cycle of the RasterLayer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed RasterLayer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future.

Return Value
  • Type:Void
  • Description:None
Parameters

GetBoundingBoxCore()

N/A

Remarks

N/A

Return Value
Parameters

GetThreadSafetyLevelCore()

N/A

Remarks

N/A

Return Value
Parameters

CloneDeepCore()

N/A

Remarks

N/A

Return Value
  • Type:Layer
  • Description:N/A
Parameters

DrawException(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

DrawExceptionCore(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

OnDrawingException(DrawingExceptionLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnException(DrawnExceptionLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawAttributionCore(GeoCanvas,String)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • attribution
    • Type:String
    • Description:N/A

OnDrawingAttribution(DrawingAttributionLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnAttribution(DrawnAttributionLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRequestedDrawing(RequestedDrawingLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRequestingDrawing(RequestingDrawingLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

KmlPathFilename

Gets or sets the KML path filename.

Remarks

N/A

Return Value
  • Type:String

HasBoundingBox

This property indicates whether a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs.

Remarks

The default value is false.

Return Value
  • Type:Boolean

BlueTranslation

N/A

Remarks

N/A

Return Value
  • Type:Single

RedTranslation

N/A

Remarks

N/A

Return Value
  • Type:Single

GreenTranslation

N/A

Remarks

N/A

Return Value
  • Type:Single

IsNegative

N/A

Remarks

N/A

Return Value
  • Type:Boolean

IsGrayscale

N/A

Remarks

N/A

Return Value
  • Type:Boolean

ImageSource

N/A

Remarks

N/A

Return Value

UpperThreshold

N/A

Remarks

N/A

Return Value
  • Type:Double

LowerThreshold

N/A

Remarks

N/A

Return Value
  • Type:Double

HasProjectionText

N/A

Remarks

N/A

Return Value
  • Type:Boolean

KeyColors

N/A

Remarks

N/A

Return Value

IsOpen

N/A

Remarks

N/A

Return Value
  • Type:Boolean

DrawingTime

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

Name

N/A

Remarks

N/A

Return Value
  • Type:String

IsVisible

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Transparency

N/A

Remarks

N/A

Return Value
  • Type:Single

DrawingExceptionMode

N/A

Remarks

N/A

Return Value

Attribution

N/A

Remarks

N/A

Return Value
  • Type:String

RequestDrawingInterval

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

Protected Properties

IsOpenCore

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Public Events

StreamLoading Occurs when [stream loading].

Remarks

N/A

Event Arguments:StreamLoadingEventArgs

DrawingException N/A

Remarks

N/A

Event Arguments:DrawingExceptionLayerEventArgs

DrawingProgressChanged N/A

Remarks

N/A

Event Arguments:DrawingProgressChangedEventArgs

DrawnException N/A

Remarks

N/A

Event Arguments:DrawnExceptionLayerEventArgs

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionLayerEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionLayerEventArgs

RequestedDrawing N/A

Remarks

N/A

Event Arguments:RequestedDrawingLayerEventArgs

RequestingDrawing N/A

Remarks

N/A

Event Arguments:RequestingDrawingLayerEventArgs

thinkgeo.mapsuite.core.kmlrasterlayer.1442797585.txt.gz ยท Last modified: 2015/09/21 01:06 by admin