User Tools

Site Tools


thinkgeo.mapsuite.desktopedition.googlemapsoverlay

This is an old revision of the document!


ThinkGeo.MapSuite.DesktopEdition.GoogleMapsOverlay

This class represents the Overlay used to display a Google Map.

Inheritance Hierarchy

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

Members Summary

Public Constructors

GoogleMapsOverlay()

This is the constructor of the class.

Remarks

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

Parameters

GoogleMapsOverlay(String,String,String)

This is the constructor the for the class.

Remarks

This constructor initializes a new layer and assgin a license key.

Parameters
  • cacheDirectory
    • Type:String
    • Description:The cacheDirectory for the GoogleMapsOverlay.
  • clientId
    • Type:String
    • Description:The clientId for the GoogleMapsOverlay.
  • privateKey
    • Type:String
    • Description:The privateKey for the GoogleMapsOverlay.

GoogleMapsOverlay(String,String,String,WebProxy)

This is the constructor the for the class.

Remarks

This constructor initializes a new layer and assgin a license key.

Parameters
  • cacheDirectory
    • Type:String
    • Description:The cacheDirectory for the GoogleMapsOverlay.
  • clientId
    • Type:String
    • Description:The clientId for the GoogleMapsOverlay.
  • privateKey
    • Type:String
    • Description:The privateKey for the GoogleMapsOverlay.
  • webProxy
    • Type:WebProxy
    • Description:N/A

Protected Constructors

Public Methods

GetPictureFormatString()

This method gets a string that represents the picture format from Google Maps.

Remarks

N/A

Return Value
  • Type:String
  • Description:Returns a string representing the picture format from GoogleMaps.
Parameters

Dispose()

Releases the unmanaged resources.

Remarks

N/A

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

ClearCache()

N/A

Remarks

N/A

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

ClearCache(String,TimeSpan,Double)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • cacheFolder
    • Type:String
    • Description:N/A
  • tileExpiration
    • Type:TimeSpan
    • Description:N/A
  • maxSizeInMegabytes
    • Type:Double
    • Description:N/A

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

DrawCore(GeoCanvas)

This method draws the GoogleMapsOverlay.

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.

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

DrawPreviewCore(GeoCanvas)

N/A

Remarks

N/A

Return Value
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

DrawExceptionCore(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

Public Properties

TileMode

N/A

Remarks

N/A

Return Value

TimeoutInSeconds

Gets or sets a value represents the request timeout from the GoogleMaps server.

Remarks

N/A

Return Value
  • Type:Int32

MapType

This property gets or sets the map types available from Google Maps.

Remarks

N/A

Return Value

ClientId

Gets or sets a value to access the special features of Google Maps API Premier, you must provide a client ID when accessing any of the Premier API libraries or services. When registering for Google Maps API Premier, you will receive this client ID from Google Enterprise Support. All client IDs begin with a gme- prefix.

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

WebProxy

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

Remarks

N/A

Return Value
  • Type:WebProxy

TileCache

N/A

Remarks

N/A

Return Value

ProjectionFromSphericalMercator

N/A

Remarks

N/A

Return Value

ProjectedTileCache

N/A

Remarks

N/A

Return Value

TileExpiration

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

MaxCacheSizeInMegabytes

N/A

Remarks

N/A

Return Value
  • Type:Double

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.googlemapsoverlay.1442545356.txt.gz · Last modified: 2015/09/18 03:02 by admin