User Tools

Site Tools


thinkgeo.mapsuite.desktopedition.worldmapkitwmsdesktopoverlay

This is an old revision of the document!


ThinkGeo.MapSuite.DesktopEdition.WorldMapKitWmsDesktopOverlay

This class is used in Desktop Edition to access the WorldMapKit Web Map Service (WMS).

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.DesktopEdition.Overlay
      • ThinkGeo.MapSuite.DesktopEdition.WorldMapKitWmsDesktopOverlay

Members Summary

Public Constructors

WorldMapKitWmsDesktopOverlay()

This is the constructor of the class.

Remarks

If you use this constructor, you must set the properties manually before use, otherwise it will use their default values.

Parameters

WorldMapKitWmsDesktopOverlay(WorldMapKitLayerType)

N/A

Remarks

N/A

Parameters

WorldMapKitWmsDesktopOverlay(String,String)

This is the constructor of the class.

Remarks

N/A

Parameters
  • clientId
    • Type:String
    • Description:The clientId for the WMS Server.
  • privateKey
    • Type:String
    • Description:The privateKey for the WMS Server.

WorldMapKitWmsDesktopOverlay(WorldMapKitLayerType,String,String)

N/A

Remarks

N/A

Parameters
  • clientId
    • Type:String
    • Description:N/A
  • privateKey
    • Type:String
    • Description:N/A

WorldMapKitWmsDesktopOverlay(WebProxy,String,String)

This is the constructor of the class.

Remarks

N/A

Parameters
  • webProxy
    • Type:WebProxy
    • Description:Proxy to use for the WMS Server.
  • clientId
    • Type:String
    • Description:The clientId for the WMS Server.
  • privateKey
    • Type:String
    • Description:The privateKey for the WMS Server.

WorldMapKitWmsDesktopOverlay(WorldMapKitLayerType,WebProxy,String,String)

N/A

Remarks

N/A

Parameters
  • webProxy
    • Type:WebProxy
    • Description:N/A
  • clientId
    • Type:String
    • Description:N/A
  • privateKey
    • Type:String
    • Description:N/A

Protected Constructors

Public Methods

ClearCache()

This method will clear the cache for the Overlay.

Remarks

N/A

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

Refresh(GeoCanvas,RectangleShape)

N/A

Remarks

N/A

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

DrawPreview(GeoCanvas)

N/A

Remarks

N/A

Return Value
Parameters

Draw(GeoCanvas)

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(TimeSpan,RequestDrawingBufferTimeType)

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(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

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

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

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

DrawPreviewCore(GeoCanvas)

This method overrides its DrawPreviewCore virtual method in its base class Overlay.

Remarks

N/A

Return Value
  • Description:The tile existing type, which indicates whether any tiles exist.
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:This parameter is the canvas object to draw on.

DrawCore(GeoCanvas)

This method draws the WorldMapKitDesktopOverlay.

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
  • canvas
    • Type:GeoCanvas
    • Description:This parameter is the canvas object or a GeoImage to draw on.

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

N/A

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().

OnSendingWebRequest(SendingWebRequestEventArgs)

N/A

Remarks

N/A

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

OnSentWebRequest(SentWebRequestEventArgs)

N/A

Remarks

N/A

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

OnDrawing(DrawingOverlayEventArgs)

N/A

Remarks

N/A

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

OnDrawn(DrawnOverlayEventArgs)

N/A

Remarks

N/A

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

RefreshCore(GeoCanvas,RectangleShape)

N/A

Remarks

N/A

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

sBM=(GeoCanvas)

N/A

Remarks

N/A

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

DrawAttributionCore(GeoCanvas)

N/A

Remarks

N/A

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

OnDrawingAttribution(DrawingAttributionOverlayEventArgs)

N/A

Remarks

N/A

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

OnDrawnAttribution(DrawnAttributionOverlayEventArgs)

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
  • e
    • Type:Exception
    • Description:N/A

OnRequestedDrawing(RequestedDrawingOverlayEventArgs)

N/A

Remarks

N/A

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

OnRequestingDrawing(RequestingDrawingOverlayEventArgs)

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

HBU=(Bitmap,RectangleShape,RectangleShape,Double,Int32,Int32)

N/A

Remarks

N/A

Return Value
Parameters
  • higherScaleTileImage
    • Type:Bitmap
    • Description:N/A
  • previewScale
    • Type:Double
    • Description:N/A
  • previewImageWidth
    • Type:Int32
    • Description:N/A
  • previewImageHeight
    • Type:Int32
    • Description:N/A

Public Properties

ClientId

Gets or sets a value that is your Client Id.

Remarks

N/A

Return Value
  • Type:String

PrivateKey

Gets or sets a value that is unique to your client ID, please keep your key secure.

Remarks

N/A

Return Value
  • Type:String

LayerType

N/A

Remarks

N/A

Return Value

MapType

N/A

Remarks

N/A

Return Value

Projection

Gets or sets the Projection of the Overlay.

Remarks

N/A

Return Value

TileCache

Gets or sets the BitmapTileCache for the Overlay.

Remarks

N/A

Return Value

WebProxy

This property gets or sets the proxy used for requesting a Web Response.

Remarks

N/A

Return Value
  • Type:WebProxy

Attribution

N/A

Remarks

N/A

Return Value
  • Type:String

Lock

N/A

Remarks

N/A

Return Value

IsBase

N/A

Remarks

N/A

Return Value
  • Type:Boolean

DrawingExceptionMode

N/A

Remarks

N/A

Return Value

IsVisible

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Name

N/A

Remarks

N/A

Return Value
  • Type:String

PreviewTileCache

N/A

Remarks

N/A

Return Value

IsEmpty

N/A

Remarks

N/A

Return Value
  • Type:Boolean

DrawingTime

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

AutoRefreshInterval

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

Protected Properties

rxM=

N/A

Remarks

N/A

Return Value

Public Events

SendingWebRequest N/A

Remarks

N/A

Event Arguments:SendingWebRequestEventArgs

SentWebRequest N/A

Remarks

N/A

Event Arguments:SentWebRequestEventArgs

Drawing N/A

Remarks

N/A

Event Arguments:DrawingOverlayEventArgs

Drawn N/A

Remarks

N/A

Event Arguments:DrawnOverlayEventArgs

DrawingAttribution N/A

Remarks

N/A

Event Arguments:DrawingAttributionOverlayEventArgs

DrawnAttribution N/A

Remarks

N/A

Event Arguments:DrawnAttributionOverlayEventArgs

RequestedDrawing N/A

Remarks

N/A

Event Arguments:RequestedDrawingOverlayEventArgs

RequestingDrawing N/A

Remarks

N/A

Event Arguments:RequestingDrawingOverlayEventArgs

thinkgeo.mapsuite.desktopedition.worldmapkitwmsdesktopoverlay.1442545542.txt.gz · Last modified: 2015/09/18 03:05 by admin