User Tools

Site Tools


thinkgeo.mapsuite.androidedition.layeroverlay

ThinkGeo.MapSuite.AndroidEdition.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.AndroidEdition.Overlay
      • ThinkGeo.MapSuite.AndroidEdition.TileOverlay
        • ThinkGeo.MapSuite.AndroidEdition.LayerOverlay

Members Summary

Public Constructors

LayerOverlay()

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters

LayerOverlay(IEnumerable<Layer>)

  • Initializes a new instance of the class.
Remarks
  • N/A
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
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Refresh(TimeSpan)

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

Refresh(TimeSpan,RequestDrawingBufferTimeType)

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

Refresh(TimeSpan,BufferTimeType)

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

Refresh(RectangleShape,TimeSpan)

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

Refresh(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

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

Refresh(RectangleShape,TimeSpan,BufferTimeType)

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

Refresh(IEnumerable<RectangleShape>,TimeSpan)

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

Refresh(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

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

Refresh(IEnumerable<RectangleShape>,TimeSpan,BufferTimeType)

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

GetBoundingBox()

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

Initialize(MapArguments)

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

Refresh()

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

Refresh(RectangleShape)

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

Draw(MapArguments,OverlayRefreshType)

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

PostTransform(TransformArguments,MapArguments)

  • 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

Open()

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

Dispose()

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

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

GetTileCore(Context)

  • Chooses a tile object to form the TileOverlay. When overriding this method, consider the initialize parameters setting on the tile.
Remarks
  • N/A
Return Value
  • Type:TileView
  • Description:A tile object to form the TileOverlay.
Parameters
  • context
    • Type:Context
    • Description:Interface to global information about an application environment.

DrawTileCore(GeoCanvas,TileView)

  • Redraws a specified tile with the provided world extent.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • geoCanvas
    • Type:GeoCanvas
    • Description:This parameter is the canvas object to draw on.
  • tile
    • Type:TileView
    • Description:A Tile object that is created by the GetTile(Context) method to draw.

GetBoundingBoxCore()

  • This method returns the bounding box of the Overlay.
Remarks
  • This method returns the bounding box of the Overlay.
Return Value
  • Description:This method returns the bounding box of the Overlay.
Parameters

RefreshCore()

  • 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

DrawCore(MapArguments,OverlayRefreshType)

  • This method draws the InterativeOverlay abstract class. You have to override this API in its sub concrete classes, Or you will see nothing.
Remarks
  • This method draws the representation of the overlay based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties that allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
  • Type:Void
  • Description:none
Parameters
  • mapArguments
    • Description:This parameter maintains current map information for calculating mechanism.
  • 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.

OpenCore()

  • This protected virtual method is the Core method of Open API.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • This protected virtual method is the Core method of Close API.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawTile(TileView,MapArguments)

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

PostTransformCore(TransformArguments,MapArguments)

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

Dispose(Boolean)

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

GetTile(Context)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • context
    • Type:Context
    • Description:N/A

GetTileMatrix(Double,Int32,Int32,GeographyUnit)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • scale
    • Type:Double
    • Description:N/A
  • tileWidth
    • Type:Int32
    • Description:N/A
  • tileHeight
    • Type:Int32
    • Description:N/A

GetTileMatrixCells(MapArguments,Double)

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

EhU=()

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

RefreshCore(RectangleShape)

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

InitializeCore(MapArguments)

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

DrawException(GeoCanvas,Exception)

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

DrawExceptionCore(GeoCanvas,Exception)

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

OnDrawingException(DrawingExceptionOverlayEventArgs)

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

OnDrawnException(DrawnExceptionOverlayEventArgs)

  • 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

LockLayerMode

  • This property gets and sets the lock mode while drawing layers.
Remarks
  • N/A
Return Value

Layers

  • Gets a GeoCollection that contains the layers that will draw on the image.
Remarks
  • The Layers property holds all of the layers that are used by the Draw method. The Draw method loops through all layers to filter out features and draw on the image with the specified styles.
Return Value
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
  • Type:Boolean

TransitionEffect

  • N/A
Remarks
  • N/A
Return Value

LayerType

  • N/A
Remarks
  • N/A
Return Value
  • Type:LayerType

TileSizeMode

  • N/A
Remarks
  • N/A
Return Value

TileCache

  • N/A
Remarks
  • N/A
Return Value

TileSnappingMode

  • N/A
Remarks
  • N/A
Return Value

TileType

  • N/A
Remarks
  • N/A
Return Value

IsVisible

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

AutoRefreshInterval

  • N/A
Remarks
  • N/A
Return Value
  • Type:TimeSpan

Name

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

DrawingExceptionMode

  • N/A
Remarks
  • N/A
Return Value

Attribution

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

OverlayView

  • N/A
Remarks
  • N/A
Return Value

DrawingQuality

  • N/A
Remarks
  • N/A
Return Value

Opacity

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

MapArguments

  • N/A
Remarks
  • N/A
Return Value

CanRefreshRegion

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Protected Properties

/xQ=

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

AhU=

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

BRU=

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

SingleTile

  • N/A
Remarks
  • N/A
Return Value

Public Events

DrawingException

  • N/A
Remarks
  • N/A

Event Arguments:DrawingExceptionOverlayEventArgs

DrawnException

  • N/A
Remarks
  • N/A

Event Arguments:DrawnExceptionOverlayEventArgs

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