BingMapsPyramid

Description

class Tinman.AddOns.Pyramids.BingMapsPyramid

Derived from

HttpPyramid abstract

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

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

By using this class, you explicitly agree to and obey the Microsoft Bing Maps Platform APIs Terms Of Use, which can be found here: https://www.microsoft.com/en-us/maps/product.

Public / Constructors

Bing​Maps​Pyramid

2 overloads


public constructor BingMapsPyramid1 → (1)

http opt : ISimpleHttp own = null

The custom ISimpleHttp object to use.

Creates a new instance of BingMapsPyramid.

When this constructor is used, the relation between pyramid levels (see PyramidCoords.Level) and BingMaps zoom-levels is:

pyramidLevel = zoomLevel

public constructor BingMapsPyramid2 → (2)

apiKey in : string

[not-empty]
The Bing Maps API key to use.

http opt : ISimpleHttp own = null

The custom ISimpleHttp object to use.

Creates a new instance of BingMapsPyramid.

When this constructor is used, the relation between pyramid levels (see PyramidCoords.Level) and BingMaps zoom-levels is:

pyramidLevel = zoomLevel - 1

Public / Methods

Session


public method Session → (1)

start in : bool

Start a new session (true) or end the current session (false)?

returns → bool

true if subsequent requests will use a session key, false if not.

Starts or ends a BingMaps session.

Understanding Bing Maps Transactions
https://msdn.microsoft.com/en-us/library/ff859477.aspx

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IPixelPyramid>

[not-null]
The configurator object.

The configurator object for this type.