Provider of tiles.
More...
|
MapType[] | types [get] |
| Array of map types available for the current provider. More...
|
|
string | url [get, set] |
| Gets / sets the URL pattern of tiles. More...
|
|
◆ AppendTypes()
void OnlineMapsProvider.AppendTypes |
( |
params MapType[] |
newTypes | ) |
|
Appends map types to the provider.
- Parameters
-
◆ Create()
Creates a new provider, with the specified title.
- Parameters
-
title | Provider title. Provider id = title.ToLower(). |
- Returns
- Instance of provider.
◆ CreateMapType() [1/2]
static MapType OnlineMapsProvider.CreateMapType |
( |
string |
id | ) |
|
|
static |
Creates a new map type, with the specified id.
- Parameters
-
id | Map type ID. Format: providerID.mapTypeID |
- Returns
- Instance of map type.
◆ CreateMapType() [2/2]
static MapType OnlineMapsProvider.CreateMapType |
( |
string |
id, |
|
|
string |
url |
|
) |
| |
|
static |
Creates a new map type, with the specified id.
- Parameters
-
id | Map type ID. Format: providerID.mapTypeID |
url | URL of the map type. |
- Returns
- Instance of map type.
◆ FindMapType()
static MapType OnlineMapsProvider.FindMapType |
( |
string |
mapTypeID | ) |
|
|
static |
Gets an instance of a map type by ID.
ID - providerID or providerID(dot)typeID.
If the typeID is not specified returns the first map type of provider.
If the provider ID is not found, returns the first map type of the first provider.
Example: nokia or google.satellite
- Parameters
-
- Returns
- Instance of map type
◆ Get()
Get provider by ID.
- Parameters
-
- Returns
- Provider or null
◆ GetByIndex()
MapType OnlineMapsProvider.GetByIndex |
( |
int |
index, |
|
|
bool |
repeat = false |
|
) |
| |
Gets map type by index.
- Parameters
-
index | Index of map type. |
repeat | TRUE - Repeat index value, FALSE - Clamp index value. |
- Returns
- Instance of map type.
◆ GetProviders()
Gets array of providers
- Returns
- Array of providers
◆ GetProvidersTitle()
static string [] OnlineMapsProvider.GetProvidersTitle |
( |
| ) |
|
|
static |
Gets array of provider titles.
- Returns
- Array of provider titles
◆ ext
string OnlineMapsProvider.ext |
Extension. Token {ext}, that is being replaced in the URL.
◆ hasLabels
bool? OnlineMapsProvider.hasLabels |
Indicates that the provider supports a map with labels.
◆ hasLanguage
bool? OnlineMapsProvider.hasLanguage |
Indicates that the provider supports multilanguage.
◆ id
readonly string OnlineMapsProvider.id |
◆ index
int OnlineMapsProvider.index |
Index of current provider.
◆ labelsEnabled
bool? OnlineMapsProvider.labelsEnabled |
Indicates that the label is always enabled.
◆ projection
◆ prop
string OnlineMapsProvider.prop |
Property. Token {prop}, that is being replaced in the URL.
◆ prop2
string OnlineMapsProvider.prop2 |
Property. Token {prop2}, that is being replaced in the URL.
◆ title
readonly string OnlineMapsProvider.title |
Human-readable provider title.
◆ twoLetterLanguage
bool OnlineMapsProvider.twoLetterLanguage = true |
Indicates that the provider uses two letter language code.
◆ useHTTP
bool? OnlineMapsProvider.useHTTP |
Indicates that the provider uses HTTP.
◆ types
MapType [] OnlineMapsProvider.types |
|
get |
Array of map types available for the current provider.
◆ url
string OnlineMapsProvider.url |
|
getset |
Gets / sets the URL pattern of tiles.