Online Maps  v3
OnlineMapsTrafficProvider Class Reference

Providers of the traffic tiles. More...

Public Member Functions

string GetURL (OnlineMapsTile tile)
 Gets the URL to download the traffic texture. More...
 

Static Public Member Functions

static OnlineMapsTrafficProvider GetByID (string id)
 Gets an instance of a traffic provider by ID. More...
 
static OnlineMapsTrafficProvider[] GetProviders ()
 Gets array of traffic providers More...
 

Public Attributes

string id
 Provider ID More...
 
string title
 Provider name More...
 
string url
 URL of tiles More...
 
bool isCustom
 Indicates that this is an custom provider. More...
 

Detailed Description

Providers of the traffic tiles.

Member Function Documentation

◆ GetByID()

static OnlineMapsTrafficProvider OnlineMapsTrafficProvider.GetByID ( string  id)
static

Gets an instance of a traffic provider by ID.

Parameters
idProvider ID
Returns
Success: Instance of provider; FAILED - First provider

◆ GetProviders()

static OnlineMapsTrafficProvider [] OnlineMapsTrafficProvider.GetProviders ( )
static

Gets array of traffic providers

Returns
Array of traffic providers

◆ GetURL()

string OnlineMapsTrafficProvider.GetURL ( OnlineMapsTile  tile)

Gets the URL to download the traffic texture.

Parameters
tileInstence of tile.
Returns
URL to texture

Member Data Documentation

◆ id

string OnlineMapsTrafficProvider.id

Provider ID

◆ isCustom

bool OnlineMapsTrafficProvider.isCustom

Indicates that this is an custom provider.

◆ title

string OnlineMapsTrafficProvider.title

Provider name

◆ url

string OnlineMapsTrafficProvider.url

URL of tiles