Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsTrafficProvider Class Reference

Providers of the traffic tiles. More...

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

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