| Package | com.afcomponents.umap.providers.yahoo |
| Class | public class YahooProvider |
| Inheritance | YahooProvider XMLProvider DefaultProvider flash.events.EventDispatcher |
| Implements | IProvider |
| Method | Defined by | ||
|---|---|---|---|
|
YahooProvider(defaultData:Boolean = false, settings:* = null)
Creates new Yahoo Provider.
| YahooProvider | ||
![]() |
addMapType(type:IMapType):Boolean
Adds new map type to the map types Array.
| DefaultProvider | |
![]() |
clearLogo():void
Clears the logo.
| DefaultProvider | |
![]() |
dispose():void
Frees the resources accuired by the Provider.
| XMLProvider | |
|
getDefaultCopyright():String
Returns default copyright string.
| YahooProvider | ||
![]() |
getDefaultCopyrightURL():URLRequest
Abstract function.
| XMLProvider | |
![]() |
getDefaultLanguage():String
Abstract function.
| XMLProvider | |
![]() |
getDefaultLanguageURL():URLRequest
Abstract function.
| XMLProvider | |
![]() |
getDefaultSettings():String
Abstract function.
| XMLProvider | |
![]() |
getDefaultSettingsURL():URLRequest
Abstract function.
| XMLProvider | |
![]() |
getMapTypeByName(mapTypeName:String):IMapType
Returns map type reference by it's name.
| DefaultProvider | |
|
Initializes the provider and starts the loading process.
| YahooProvider | ||
![]() |
Loads copyright information for the specified area from the url defined by the
copyrightURL property. | XMLProvider | |
![]() |
setLogo(logo:*):void
Setups the logo for the provider, loads it if necessary.
| DefaultProvider | |
| Constant | Defined by | ||
|---|---|---|---|
| HYBRID : String = "hybrid" [static]
Defines the name of the hybrid map type.
| YahooProvider | ||
![]() | LOADING_COPYRIGHT : String = "loadingCopyright" [static]
The
Provider.LOADING_COPYRIGHT constant defines the value of the loadingState
property of the Provider object that indicates that copyright information is being loaded at the moment. | XMLProvider | |
![]() | LOADING_IDLE : String = "loadingIdle" [static]
The
Provider.LOADING_IDLE constant defines the value of the loadingState
property of the Provider object that indicates that no loading occurs at the moment. | XMLProvider | |
![]() | LOADING_LANGUAGE : String = "loadingLanguage" [static]
The
Provider.LOADING_LANGUAGE constant defines the value of the loadingState
property of the Provider object that indicates that language file is being loaded at the moment. | XMLProvider | |
![]() | LOADING_SETTINGS : String = "loadingSettings" [static]
The
Provider.LOADING_SETTINGS constant defines the value of the loadingState
property of the Provider object that indicates that settings file is being loaded at the moment. | XMLProvider | |
| MAP : String = "map" [static]
Defines the name of the Map map type.
| YahooProvider | ||
| SATELLITE : String = "satellite" [static]
Defines the name of the satellite map type.
| YahooProvider | ||
| YahooProvider | () | constructor |
public function YahooProvider(defaultData:Boolean = false, settings:* = null)Creates new Yahoo Provider.
ParametersdefaultData:Boolean (default = false) — Flag that forces provider to use default settings & language data without loading anything.
|
|
settings:* (default = null) — A URLRequest or String which defines the path to the settings data.
|
| getDefaultCopyright | () | method |
public override function getDefaultCopyright():StringReturns default copyright string.
ReturnsString |
| init | () | method |
public override function init(core:UMap):voidInitializes the provider and starts the loading process.
Parameterscore:UMap — Reference to the core object.
|
| HYBRID | constant |
public static const HYBRID:String = "hybrid"Defines the name of the hybrid map type.
| MAP | constant |
public static const MAP:String = "map"Defines the name of the Map map type.
| SATELLITE | constant |
public static const SATELLITE:String = "satellite"Defines the name of the satellite map type.