User Tools

Site Tools


api:thinkgeo.cloud.mapsclient

ThinkGeo.Cloud.MapsClient

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Cloud.BaseClient
      • ThinkGeo.Cloud.MapsClient

Members Summary

Public Constructors

MapsClient()

  • Initilizes an instance. You need apply client Id and secret by properties.
Remarks
  • N/A
Parameters

MapsClient(String,String)

  • Initializes an instance with ClientID and ClientSecret.
Remarks
  • N/A
Parameters
  • clientId
    • Type:String
    • Description:The ClientID for the auth.
  • clientSecret
    • Type:String
    • Description:The ClientSecret for the auth.

Protected Constructors

Public Methods

GetRasterTile(Int64,Int64,Int64,MapProjection,RasterMapType,TileSize,TileResolution)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Stream
  • Description:stream of image
Parameters
  • z
    • Type:Int64
    • Description:The Z value (zoom level) of the tile to get.
  • x
    • Type:Int64
    • Description:The X value (matrix column) of the tile to get.
  • y
    • Type:Int64
    • Description:The Y value (matrix row) of the tile to get.
  • projection
    • Description:The projection to generate the tile.
  • tileSize
    • Type:TileSize
    • Description:The tile size
  • tileResolution

GetRasterTileAsync(Int64,Int64,Int64,MapProjection,RasterMapType,TileSize,TileResolution)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<Stream>
  • Description:stream of image
Parameters
  • z
    • Type:Int64
    • Description:The Z value (zoom level) of the tile to get.
  • x
    • Type:Int64
    • Description:The X value (matrix column) of the tile to get.
  • y
    • Type:Int64
    • Description:The Y value (matrix row) of the tile to get.
  • projection
    • Description:The projection to generate the tile.
  • tileSize
    • Type:TileSize
    • Description:The tile size
  • tileResolution

GetVectorTile(Int64,Int64,Int64,MapProjection)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Stream
  • Description:An MVT vector tile encoded as protobufs (PBF) and gzipped.
Parameters
  • z
    • Type:Int64
    • Description:The Z value (zoom level) of the tile to get.
  • x
    • Type:Int64
    • Description:The X value (matrix column) of the tile to get.
  • y
    • Type:Int64
    • Description:The Y value (matrix row) of the tile to get.
  • projection
    • Description:The projection to generate the tile.

GetVectorTileAsync(Int64,Int64,Int64,MapProjection)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<Stream>
  • Description:An MVT vector tile encoded as protobufs (PBF) and gzipped.
Parameters
  • z
    • Type:Int64
    • Description:The Z value (zoom level) of the tile to get.
  • x
    • Type:Int64
    • Description:The X value (matrix column) of the tile to get.
  • y
    • Type:Int64
    • Description:The Y value (matrix row) of the tile to get.
  • projection
    • Description:The projection to generate the tile.

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

AuthenticateWebRequest(WebRequest)

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

GetToken()

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

GetTokenCore()

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

SendWebRequest(WebRequest)

  • N/A
Remarks
  • N/A
Return Value
  • Type:WebResponse
  • Description:N/A
Parameters
  • webRequest
    • Type:WebRequest
    • Description:N/A

SendWebRequestAsync(WebRequest)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task<WebResponse>
  • Description:N/A
Parameters
  • webRequest
    • Type:WebRequest
    • Description:N/A

GetNextCandidateBaseUri()

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

GetNextCandidateBaseUriCore()

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

OnGettingAccessToken(GettingAccessTokenEventArgs)

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

OnSendingWebRequest(SendingWebRequestEventArgs)

  • 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

ClientId

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

ClientSecret

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

BaseUris

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Uri>

Protected Properties

Public Events

api/thinkgeo.cloud.mapsclient.txt · Last modified: 2018/12/19 08:03 by tgwikiupdate