Table of Contents

ThinkGeo.MapSuite.WpfDesktopEdition.TileOverlay

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.

Represents an overlay that maintains tiles.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

TileOverlay()

Remarks
Parameters

Public Methods

Refresh(IEnumerable<RectangleShape>)

Remarks
Return Value
Parameters

Refresh(TimeSpan)

Remarks
Return Value
Parameters

Refresh(TimeSpan,RequestDrawingBufferTimeType)

Remarks
Return Value
Parameters

Refresh(RectangleShape,TimeSpan)

Remarks
Return Value
Parameters

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

Remarks
Return Value
Parameters

Refresh(IEnumerable<RectangleShape>,TimeSpan)

Remarks
Return Value
Parameters

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

Remarks
Return Value
Parameters

Initialize(MapArguments)

Remarks
Return Value
Parameters

Refresh(RectangleShape)

Remarks
Return Value
Parameters

Refresh()

Remarks
Return Value
Parameters

Close()

Remarks
Return Value
Parameters

Open()

Remarks
Return Value
Parameters

Draw(RectangleShape)

Remarks
Return Value
Parameters

Draw(RectangleShape,OverlayRefreshType)

Remarks
Return Value
Parameters

PanTo(RectangleShape)

Remarks
Return Value
Parameters

GetBoundingBox()

Remarks
Return Value
Parameters

SaveState()

Remarks
Return Value
Parameters

LoadState(Byte[])

Remarks
Return Value
Parameters

Dispose()

Remarks
Return Value
Parameters

ToString()

Remarks
Return Value
Parameters

Equals(Object)

Remarks
Return Value
Parameters

GetHashCode()

Remarks
Return Value
Parameters

GetType()

Remarks
Return Value
Parameters

Protected Methods

GBQ=(RectangleShape)

Remarks
Return Value
Parameters

HBQ=(QhY=)

Remarks
Return Value
Parameters

DrawCore(RectangleShape,OverlayRefreshType)

Remarks
Return Value
Parameters

PrefillDataToTiles(IEnumerable<Tile>)

Remarks
Return Value
Parameters

PrefillDataToTilesCore(IEnumerable<Tile>)

Remarks
Return Value
Parameters

RefreshCore()

Remarks
Return Value
Parameters

OnDrawTilesProgressChanged(DrawTilesProgressChangedTileOverlayEventArgs)

Remarks
Return Value
Parameters

OnDrawingTile(DrawingTileTileOverlayEventArgs)

Remarks
Return Value
Parameters

OnDrawnTile(DrawnTileTileOverlayEventArgs)

Remarks
Return Value
Parameters

GetTileCore()

Remarks
Return Value
Parameters

SaveStateCore()

Remarks
Return Value
Parameters

LoadStateCore(Byte[])

Remarks
Return Value
Parameters

DrawTile(Tile,RectangleShape)

Remarks
Return Value
Parameters

DrawTileCore(Tile,RectangleShape)

Remarks
Return Value
Parameters

Dispose(Boolean)

Remarks
Return Value
Parameters

InitializeCore(MapArguments)

Remarks
Return Value
Parameters

GetDrawingCells(RectangleShape)

Remarks
Return Value
Parameters

GetDrawingCellsCore(RectangleShape)

Remarks
Return Value
Parameters

GetTileMatrix(Double,Int32,Int32,GeographyUnit)

Remarks
Return Value
Parameters

DrawException(GeoCanvas,Exception)

Remarks
Return Value
Parameters

DrawExceptionCore(GeoCanvas,Exception)

Remarks
Return Value
Parameters

OnDrawingException(DrawingExceptionTileOverlayEventArgs)

Remarks
Return Value
Parameters

OnDrawnException(DrawnExceptionTileOverlayEventArgs)

Remarks
Return Value
Parameters

OnStartingThread(StartingThreadTileOverlayEventArgs)

Remarks
Return Value
Parameters

OnTileTypeChanged(TileTypeChangedTileOverlayEventArgs)

Remarks
Return Value
Parameters

IhQ=(RectangleShape,Double)

Remarks
Return Value
Parameters

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

Remarks
Return Value
Parameters

DrawStretchTiles(RectangleShape)

Remarks
Return Value
Parameters

GetSortedCells(Dictionary<String,TileMatrixCell>,RectangleShape)

Remarks
Return Value
Parameters

GetSortedCellsCore(Dictionary<String,TileMatrixCell>,RectangleShape)

Remarks
Return Value
Parameters

4BM=(IEnumerable<RectangleShape>)

Remarks
Return Value
Parameters

RefreshCore(RectangleShape)

Remarks
Return Value
Parameters

CloseCore()

Remarks
Return Value
Parameters

OpenCore()

Remarks
Return Value
Parameters

4hM=(GeoCanvas)

Remarks
Return Value
Parameters

DrawAttributionCore(GeoCanvas)

Remarks
Return Value
Parameters

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

Remarks
Return Value
Parameters

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

Remarks
Return Value
Parameters

PanToCore(RectangleShape)

Remarks
Return Value
Parameters

OnDrawing(DrawingOverlayEventArgs)

Remarks
Return Value
Parameters

OnDrawn(DrawnOverlayEventArgs)

Remarks
Return Value
Parameters

GetBoundingBoxCore()

Remarks
Return Value
Parameters

Finalize()

Remarks
Return Value
Parameters

OnRefreshing(OverlayRefreshType)

Remarks
Return Value
Parameters

MemberwiseClone()

Remarks
Return Value
Parameters

Public Properties

IsVisible

N/A

Remarks

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

Return Value

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.TileOverlay#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.TileOverlay#TileWidth

Return Value

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.TileOverlay#TileHeight

Return Value

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.TileOverlay#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.TileOverlay#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.TileOverlay#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.TileOverlay#JpegQuality

Return Value

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.TileOverlay#TileBuffer

Return Value

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.TileOverlay#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.TileOverlay#WrappingExtent

Return Value

AutoRefreshInterval

N/A

Remarks

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

Return Value

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.TileOverlay#Name

Return Value

MapArguments

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

Remarks

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

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.TileOverlay#OverlayCanvas

Return Value

IsBase

N/A

Remarks

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

Return Value

CanRefreshRegion

N/A

Remarks

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

Return Value

DrawingExceptionMode

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

Remarks

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

Return Value

Attribution

N/A

Remarks

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

Return Value

IsEmpty

This property gets if this overlay is empty or not.

Remarks

This property enhances the performance of the overlay while drawing. If is true, we will skip drawing this overlay and continue drawing the next overlay.

Return Value

Protected Properties

FxQ=

N/A

Remarks

N/A

Return Value

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.TileOverlay#DrawingCanvas

Return Value

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.TileOverlay#StretchCanvas

Return Value

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.TileOverlay#PreviousExtent

Return Value

3BM=

N/A

Remarks

N/A

Return Value

IsOverlayInitialized

Gets or sets if the overlay canvas is initialized.

Remarks

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

Return Value

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.TileOverlay#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.TileOverlay#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.TileOverlay#OnDrawnTile.28DrawnTileTileOverlayEventArgs.29

Event Arguments:DrawnTileTileOverlayEventArgs

DrawingException N/A

Remarks

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

Event Arguments:DrawingExceptionTileOverlayEventArgs

DrawnException N/A

Remarks

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

Event Arguments:DrawnExceptionTileOverlayEventArgs

TileTypeChanged N/A

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.TileOverlay#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.TileOverlay#OnDrawn.28DrawnOverlayEventArgs.29

Event Arguments:DrawnOverlayEventArgs

DrawingAttribution N/A

Remarks

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

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

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

Event Arguments:DrawnAttributionOverlayEventArgs