GoogleMapsPyramid

Description

sealed class Tinman.AddOns.Pyramids.GoogleMapsPyramid

Derived from

HttpPyramid abstract

Full source code is included in the Tinman 3D SDK download.

An implementation of the IPixelPyramid interface that accesses the GoogleMaps satellite imagery via HTTP.

By using this class, you explicitly agree to and obey the Google Maps Platform Terms of Service, which can be found here:
https://cloud.google.com/maps-platform/terms

Public / Constants

Version


public constant Version → (999:int32)

Magic value that makes the debugging and testing mode of the GoogleMapsPyramid class work.

Public / Constructors

Google​Maps​Pyramid

2 overloads


public constructor GoogleMapsPyramid1 → (2)

http opt : ISimpleHttp own = null

The custom ISimpleHttp object to use.

version opt : int32 = GoogleMapsPyramid.Version

The GoogleMaps tile version to use (i.e. the '&v=?' HTTP query parameter). Use of the tile version is intended to be used for debugging and testing only and should not be used for production; a proper API key should be used instead.

Creates a new instance of GoogleMapsPyramid.


public constructor GoogleMapsPyramid2 → (3)

apiKey in : string

The Maps Static API key to use or null to use debugging and testing mode.

secret in : string

The URL signing secret (see StringUtil.Base64Encode) to use or null to generate unsigned requests.

http opt : ISimpleHttp own = null

The custom ISimpleHttp object to use.

Creates a new instance of GoogleMapsPyramid.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IPixelPyramid>

[not-null]
The configurator object.

The configurator object for this type.