User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.layeroverlay

ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents a group of layers; each layer can be of any layer type.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.WpfDesktopEdition.Overlay
      • ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay
        • ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay

Members Summary

Public Constructors

LayerOverlay()

  • Constructor of LayerOverlay class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#LayerOverlay.28.29
Parameters

LayerOverlay(IEnumerable<Layer>)

  • Constructor of LayerOverlay class.
Remarks
  • For the most updated Info for this topic, please check it here:
Parameters
  • layers
    • Type:IEnumerable<Layer>
    • Description:This parameter indicates a layer collection which needs to be drawn.

Protected Constructors

Public Methods

Refresh(IEnumerable<RectangleShape>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

Refresh(TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Refresh.28TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(RectangleShape,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Refresh.28RectangleShape.2C_TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

Initialize(MapArguments)

  • This method initializes overlay object.
Remarks
  • This is a wrapper method for the virtual method InitializeCore.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • mapArguments
    • Description:This parameter maintains current map information for calculating mechanism.

Refresh(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Refresh.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Refresh()

  • This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Remarks
  • The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Close.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Open()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Open.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Draw(RectangleShape)

  • This method draws the overlay with the provided extent in world coordinate.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Draw.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter indicates an extent in world coordinate for drawing the overlay.

Draw(RectangleShape,OverlayRefreshType)

  • This method draws the overlay with the provided extent in world coordinate.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Draw.28RectangleShape.2C_OverlayRefreshType.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter indicates an extent in world coordinate for drawing the overlay.
  • refreshType
    • Description:This parameter indicates whether the elements of this overlay needs to be refreshed. For example, TileOverlay is formed by tiles. When panning the map around, the existing tile doesn't need to be redraw, the only thing we need to do is modifying the position of these tiles. On another hand, when click to change the style of the overlay, we need to redraw the tile images to change the appearance. So we need refresh mode.

PanTo(RectangleShape)

  • This method pans the overlay to the provided world extent.
Remarks
  • Some overlay doesn't need to continously drawing all the tile. For example, MarkerOverlay is formed by markers. When mouse down to pan, the markers don't need to redraw, we can only change its position. When mouse up to end panning, we can redraw the overlay for better performance.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter is the target world extent for panning.

GetBoundingBox()

  • This method gets a bounding box of the Overlay.
Remarks
  • This method is the concrete wrapper for the abstract method GetBoundingBoxCore. This method returns the bounding box of the Overlay. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Description:A RectangleShape indicating the bounding box of this overlay
Parameters

SaveState()

  • This method saves overlay state to a byte array.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#SaveState.28.29
Return Value
  • Type:Byte[]
  • Description:A byte array indicates current overlay state.
Parameters

LoadState(Byte[])

  • This method restore the overlay state back from the specified state.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • state
    • Type:Byte[]
    • Description:This parameter indicates the state for restore the overlay.

Dispose()

  • This method dispose unmanaged resource used in this class.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Dispose.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

PrefillDataToTilesCore(IEnumerable<Tile>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tiles
    • Type:IEnumerable<Tile>
    • Description:N/A

RefreshCore(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#RefreshCore.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawCore(RectangleShape,OverlayRefreshType)

  • This method draws tiles to form this overlay by the passed parameters.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawCore.28RectangleShape.2C_OverlayRefreshType.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:A world extent for drawing this overlay.
  • refreshType
    • Description:This parameter indicates whether needs to redraw this overlay.

OnTileTypeChanged(TileTypeChangedTileOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

Dispose(Boolean)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Dispose.28Boolean.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • disposing
    • Type:Boolean
    • Description:N/A

SaveStateCore()

  • This method saves overlay state to a byte array.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#SaveStateCore.28.29
Return Value
  • Type:Byte[]
  • Description:A byte array indicates current overlay state.
Parameters

LoadStateCore(Byte[])

  • This method restore the overlay state back from the specified state.
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • state
    • Type:Byte[]
    • Description:This parameter indicates the state for restore the overlay.

GetTileCore()

  • This method gets a specific tile object to form an overlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetTileCore.28.29
Return Value
  • Type:Tile
  • Description:A Tile object to form an overlay.
Parameters

DrawTileCore(Tile,RectangleShape)

  • This method redraws a tile by an extent and geography unit.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawTileCore.28Tile.2C_RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tile
    • Type:Tile
    • Description:A tile which needs to be redrawn.
  • targetExtent

GetBoundingBoxCore()

  • This method gets a bounding box that holds all the layers which are added in this overlay.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetBoundingBoxCore.28.29
Return Value
  • Description:A RectangleShape value that holds all the layers which are added in this overlay.
Parameters

CloseCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#CloseCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OpenCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OpenCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRefreshing(OverlayRefreshType)

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

GBQ=(RectangleShape)

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

HBQ=(QhY=)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • clearTilesMode
    • Type:QhY=
    • Description:N/A

PrefillDataToTiles(IEnumerable<Tile>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tiles
    • Type:IEnumerable<Tile>
    • Description:N/A

RefreshCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#RefreshCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawTilesProgressChanged(DrawTilesProgressChangedTileOverlayEventArgs)

  • Occurs when Tiles' download progress is changed.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingTile(DrawingTileTileOverlayEventArgs)

  • This method raises before a tile is drawing.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnTile(DrawnTileTileOverlayEventArgs)

  • This method raises after a tile is drawn.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawTile(Tile,RectangleShape)

  • Redraws a specified tile with the provided world extent.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawTile.28Tile.2C_RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tile
    • Type:Tile
    • Description:A Tile object that is created by the GetTile() method to draw.
  • targetExtent
    • Description:A world extent for drawing the passed tile.

InitializeCore(MapArguments)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#InitializeCore.28MapArguments.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetDrawingCells(RectangleShape)

  • This method gets the cells for drawing in the passed world extent.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetDrawingCells.28RectangleShape.29
Return Value
  • Type:Dictionary<String,TileMatrixCell>
  • Description:A dictionary of cells for drawing in the passed world extent.
Parameters
  • targetExtent
    • Description:A world extent for getting the drawing cells.

GetDrawingCellsCore(RectangleShape)

  • This method gets the cells for drawing in the passed world extent.
Remarks
  • When overriding this method, consider that the TileBuffer affects the passed world extent.
Return Value
  • Type:Dictionary<String,TileMatrixCell>
  • Description:A dictionary of cells for drawing in the passed world extent.
Parameters
  • targetExtent
    • Description:A world extent for getting the drawing cells.

GetTileMatrix(Double,Int32,Int32,GeographyUnit)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetTileMatrix.28Double.2C_Int32.2C_Int32.2C_GeographyUnit.29
Return Value
Parameters
  • scale
    • Type:Double
    • Description:N/A
  • tileWidth
    • Type:Int32
    • Description:N/A
  • tileHeight
    • Type:Int32
    • Description:N/A

DrawException(GeoCanvas,Exception)

  • This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Remarks
  • This method can be overriden its logic by rewrite the DrawExceptionCore.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:The target canvas to draw the layer.
  • e
    • Type:Exception
    • Description:The exception thrown when layer.Draw().

DrawExceptionCore(GeoCanvas,Exception)

  • This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawExceptionCore.28GeoCanvas.2C_Exception.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:The target canvas to draw the layer.
  • e
    • Type:Exception
    • Description:The exception thrown when layer.Draw().

OnDrawingException(DrawingExceptionTileOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawingException.28DrawingExceptionTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnException(DrawnExceptionTileOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawnException.28DrawnExceptionTileOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnStartingThread(StartingThreadTileOverlayEventArgs)

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

IhQ=(RectangleShape,Double)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • resolution
    • Type:Double
    • Description:N/A

IxQ=(RectangleShape,Double,Double,Int64,Int64,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Tile
  • Description:N/A
Parameters
  • tileScreenWidth
    • Type:Double
    • Description:N/A
  • tileScreenHeight
    • Type:Double
    • Description:N/A
  • tileColumnIndex
    • Type:Int64
    • Description:N/A
  • tileRowIndex
    • Type:Int64
    • Description:N/A
  • zoomLevelIndex
    • Type:Int32
    • Description:N/A

DrawStretchTiles(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawStretchTiles.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetSortedCells(Dictionary<String,TileMatrixCell>,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetSortedCellsCore(Dictionary<String,TileMatrixCell>,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

4BM=(IEnumerable<RectangleShape>)

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

4hM=(GeoCanvas)

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

DrawAttributionCore(GeoCanvas)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawAttributionCore.28GeoCanvas.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawingAttribution.28DrawingAttributionOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawnAttribution.28DrawnAttributionOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

PanToCore(RectangleShape)

  • This method pans the overlay to the provided world extent.
Remarks
  • Some overlay doesn't need to continously drawing all the tile. For example, MarkerOverlay is formed by markers. When mouse down to pan, the markers don't need to redraw, we can only change its position. When mouse up to end panning, we can redraw the overlay for better performance.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetExtent
    • Description:This parameter is the target world extent for panning.

OnDrawing(DrawingOverlayEventArgs)

  • This method raises before the overlay is drawing.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawing.28DrawingOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawn(DrawnOverlayEventArgs)

  • This method raises after the overlay is drawn.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawn.28DrawnOverlayEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

RenderMode

This property gets and sets the render mode for drawing this overlay.

Remarks

Set GdiPlus to render map image with Gdi+. We recommend use this value with large data. Set DrawingVisual to render map image with DrawingVisual feature in WPF. Use it when the spatial data is small to get better responding.

Return Value

IsEmpty

This property indicates whether this overlay is empty or not.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#IsEmpty

Return Value
  • Type:Boolean

Layers

Gets a GeoCollection that contains the layers that will draw on the image.

Remarks

The <strong>Layers</strong> property holds all of the layers that are used by the <strong>Draw</strong> method. The Draw method loops through all layers to filter out features and draw on the image with the specified styles.

Return Value
Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawingQuality

Return Value

LockLayerMode

This property gets and sets the lock mode while drawing layers.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#LockLayerMode

Return Value

IsVisible

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#IsVisible

Return Value
  • Type:Boolean

TileType

Gets and sets the overlay is formed by multiple tiles or single tile.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#TileType

Return Value

TileWidth

Gets and sets the width of the tile.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#TileWidth

Return Value
  • Type:Int32

TileHeight

Gets and sets the height of the tile.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#TileHeight

Return Value
  • Type:Int32

TransitionEffect

Gets and sets the transition effect of the overlay when zooming. After zooming, the existing tiles stretch and leave in current viewport. Set to None when its background is transparent.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#TransitionEffect

Return Value

TileCache

Gets and sets a tile cache object for saving the tiles.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#TileCache

Return Value

ImageFormat

Gets and sets drawing format for the tiles.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#ImageFormat

Return Value

JpegQuality

Gets or sets the image quality when the TileImageFormat is Jpeg; otherwise this property has no effects. Its default value is 80.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#JpegQuality

Return Value
  • Type:Int32

TileBuffer

This property gets and sets the number of extra rows and colums of tiles on each side which will surround the minimum grid tiles to cover the map.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#TileBuffer

Return Value
  • Type:Int32

MaxExtent

This property gets or sets the max extent of matrix to calculate the tiles.

Remarks

By default, MaxExtent is null; the matrix is created depending on the GeographyUnit of current map. When it's DecimalDegree, the matrix' is calculated as (-180, 90, 180, -90) as MaxExtent. While it's not DecimalDegree, the matrix is (-1000000000, 1000000000, 1000000000, -1000000000); It's allowed to modify it to customize the matrix.

Return Value

WrappingMode

Thie property gets or sets whether allow wrap date line.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#WrappingMode

Return Value

WrappingExtent

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#WrappingExtent

Return Value

AutoRefreshInterval

N/A

Remarks
Return Value
  • Type:TimeSpan

Name

Gets or sets the name of this overaly.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#Name

Return Value
  • Type:String

MapArguments

Gets or sets current map information which will be used for calculating mechanism.

Remarks
Return Value

OverlayCanvas

Gets or sets the actual canvas which maintains all the visual elements on the overlay.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OverlayCanvas

Return Value
  • Type:Canvas

IsBase

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#IsBase

Return Value
  • Type:Boolean

CanRefreshRegion

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#CanRefreshRegion

Return Value
  • Type:Boolean

DrawingExceptionMode

This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.

Remarks
Return Value

Attribution

N/A

Remarks
Return Value
  • Type:String

Protected Properties

ThY=

N/A

Remarks

N/A

Return Value
  • Type:Int32

FxQ=

N/A

Remarks

N/A

Return Value
  • Type:aBY=

DrawingCanvas

Gets current drawing canvas which holds actual tile controls.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#DrawingCanvas

Return Value
  • Type:Canvas

StretchCanvas

Gets current stretch canvas which holds stretched tile controls during the stretch transition.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#StretchCanvas

Return Value
  • Type:Canvas

PreviousExtent

Gets or sets the previous exent of the overlay.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#PreviousExtent

Return Value

3BM=

N/A

Remarks

N/A

Return Value
  • Type:Double

IsOverlayInitialized

Gets or sets if the overlay canvas is initialized.

Remarks
Return Value
  • Type:Boolean

Public Events

DrawTilesProgressChanged This event raises when download progress is changed.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawTilesProgressChanged.28DrawTilesProgressChangedTileOverlayEventArgs.29

Event Arguments:DrawTilesProgressChangedTileOverlayEventArgs

DrawingTile This event raises before the tile is drawing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawingTile.28DrawingTileTileOverlayEventArgs.29

Event Arguments:DrawingTileTileOverlayEventArgs

DrawnTile This event raises after the tile is drawn.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29

Event Arguments:DrawnTileTileOverlayEventArgs

DrawingException N/A

Remarks
Remarks
Remarks

For the most updated Info for this topic, please check it here:

Event Arguments:TileTypeChangedTileOverlayEventArgs

StartingThread N/A

Remarks

N/A

Event Arguments:StartingThreadTileOverlayEventArgs

Drawing This event raises before the overlay is drawing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#GetDrawingCells.28RectangleShape.29

Event Arguments:DrawingOverlayEventArgs

Drawn This event raises after the overlay is drawn.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.LayerOverlay#OnDrawn.28DrawnOverlayEventArgs.29

Event Arguments:DrawnOverlayEventArgs

DrawingAttribution N/A

Remarks
Remarks
thinkgeo.mapsuite.wpfdesktopedition.layeroverlay.txt · Last modified: 2017/03/16 21:59 (external edit)