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

Stores keys to all supported services and automatically uses them in requests. More...

Inherits MonoBehaviour.

Static Public Member Functions

static string AMap ()
 Returns the key for AMap if present.
 
static string ArcGIS ()
 Returns the key for ArcGIS if present.
 
static string BingMaps ()
 Returns the key for Bing Maps if present.
 
static string GoogleMaps ()
 Returns the key for Google Maps if present.
 
static string HereApiKey ()
 Returns Here Api Key if present.
 
static string HereAppCode ()
 Returns Here App Code if present.
 
static string HereAppID ()
 Returns Here App ID if present.
 
static string Mapbox ()
 Returns Mapbox Access Token if present.
 
static string OpenRouteService ()
 Returns the key for Open Route Service if present.
 
static string QQ ()
 Returns the key for QQ if present.
 
static string What3Words ()
 Returns the key for What 3 Words if present.
 

Public Attributes

string amap
 AMap key.
 
string arcgisKey
 ArcGIS key.
 
string bingMaps
 Bing Maps key.
 
string googleMaps
 Google Maps key.
 
string hereApiKey
 HERE API key.
 
string hereAppCode
 Here App Code.
 
string hereAppID
 Here App ID.
 
string mapboxAccessToken
 Mapbox Access Token.
 
string openRouteService
 Open Route Service key.
 
string qq
 QQ key.
 
string what3Words
 What 3 Words key.
 

Properties

static bool hasAMap [get]
 Is there a key for AMap.
 
static bool hasArcGISKey [get]
 
static bool hasBingMaps [get]
 Is there a key for Bing Maps.
 
static bool hasGoogleMaps [get]
 Is there a key for Google Maps.
 
static bool hasHere [get]
 Is there a app id and app code for Here.
 
static bool hasHereKey [get]
 Is there a key for Here.
 
static bool hasMapbox [get]
 Is there an access token for Mapbox.
 
static bool hasOpenRouteService [get]
 Is there a key for Open Route Service.
 
static bool hasQQ [get]
 Is there a key for QQ.
 
static bool hasWhat3Words [get]
 Is there a key for What 3 Words.
 

Detailed Description

Stores keys to all supported services and automatically uses them in requests.

Member Function Documentation

◆ AMap()

static string OnlineMapsKeyManager.AMap ( )
static

Returns the key for AMap if present.

Returns
Key for AMap or null

◆ ArcGIS()

static string OnlineMapsKeyManager.ArcGIS ( )
static

Returns the key for ArcGIS if present.

Returns
Key for ArcGIS or null

◆ BingMaps()

static string OnlineMapsKeyManager.BingMaps ( )
static

Returns the key for Bing Maps if present.

Returns
Key for Bing Maps or null

◆ GoogleMaps()

static string OnlineMapsKeyManager.GoogleMaps ( )
static

Returns the key for Google Maps if present.

Returns
Key for Google Maps or null

◆ HereApiKey()

static string OnlineMapsKeyManager.HereApiKey ( )
static

Returns Here Api Key if present.

Returns
Here Api Key or null

◆ HereAppCode()

static string OnlineMapsKeyManager.HereAppCode ( )
static

Returns Here App Code if present.

Returns
Here App Code or null

◆ HereAppID()

static string OnlineMapsKeyManager.HereAppID ( )
static

Returns Here App ID if present.

Returns
Here App ID or null

◆ Mapbox()

static string OnlineMapsKeyManager.Mapbox ( )
static

Returns Mapbox Access Token if present.

Returns
Mapbox Access Token or null

◆ OpenRouteService()

static string OnlineMapsKeyManager.OpenRouteService ( )
static

Returns the key for Open Route Service if present.

Returns
Key for Open Route Service or null

◆ QQ()

static string OnlineMapsKeyManager.QQ ( )
static

Returns the key for QQ if present.

Returns
Key for QQ or null

◆ What3Words()

static string OnlineMapsKeyManager.What3Words ( )
static

Returns the key for What 3 Words if present.

Returns
Key for What 3 Words or null

Property Documentation

◆ hasArcGISKey

bool OnlineMapsKeyManager.hasArcGISKey
staticget

Is there a key for ArcGIS