Packagecom.afcomponents.umap.providers.yahoo
Classpublic class YahooProvider
InheritanceYahooProvider Inheritance XMLProvider Inheritance DefaultProvider Inheritance flash.events.EventDispatcher
ImplementsIProvider

YahooProvider



Public Properties
 PropertyDefined by
 InheritedcopyrightURL : URLRequest
Gets or sets the URL Request object that will be used to download copyright data.
XMLProvider
 InheritedDEFAULT_MAPTYPE_CLASS : Class
[static] Defines the class that will be used by settings parser to create new map type.
XMLProvider
 InheritedDEFAULT_PROJECTION_CLASS : Class
[static] Defines the class that will be used by settings parser as the default map type projection.
XMLProvider
 InheritedDEFAULT_TILELAYER_CLASS : Class
[static] Defines the class that will be used by settings parser to create new tile layer.
XMLProvider
 InheritedlanguageURL : URLRequest
Gets or sets the URL Request object that will be used to download language data.
XMLProvider
 InheritedloadingState : String
Indicates current loading state.
XMLProvider
 Inheritedlogo : DisplayObject
Returns a display object with the provider's logo.
DefaultProvider
 InheritedmapTypes : Array
Array which holds map types supported by this Provider.
DefaultProvider
 InheritedsettingsURL : URLRequest
Gets or sets the URL Request object that will be used to download settings data.
XMLProvider
Protected Properties
 PropertyDefined by
 Inherited_copyright : URLRequest
Copyright URL.
XMLProvider
 Inherited_core : UMap
Reference to the core UMap class.
DefaultProvider
 Inherited_default : Boolean
Flag that, indicates whether to use default language & settings data without loading it from the server.
XMLProvider
 Inherited_language : URLRequest
Language URL.
XMLProvider
 Inherited_loader : URLLoader
Reference to the URLLoader object that is used for loading data.
XMLProvider
 Inherited_logo : DisplayObject
Display object which containes the provider logo.
DefaultProvider
 Inherited_logoURL : URLRequest
URI of the provider logo.
DefaultProvider
 Inherited_mapTypes : Array
Array of map types.
DefaultProvider
 Inherited_settings : *
Settings URL.
XMLProvider
Public Methods
 MethodDefined by
  
YahooProvider(defaultData:Boolean = false, settings:* = null)
Creates new Yahoo Provider.
YahooProvider
 Inherited
addMapType(type:IMapType):Boolean
Adds new map type to the map types Array.
DefaultProvider
 Inherited
clearLogo():void
Clears the logo.
DefaultProvider
 Inherited
dispose():void
Frees the resources accuired by the Provider.
XMLProvider
  
Returns default copyright string.
YahooProvider
 Inherited
Abstract function.
XMLProvider
 Inherited
Abstract function.
XMLProvider
 Inherited
getDefaultLanguageURL():URLRequest
Abstract function.
XMLProvider
 Inherited
Abstract function.
XMLProvider
 Inherited
getDefaultSettingsURL():URLRequest
Abstract function.
XMLProvider
 Inherited
getMapTypeByName(mapTypeName:String):IMapType
Returns map type reference by it's name.
DefaultProvider
  
init(core:UMap):void
Initializes the provider and starts the loading process.
YahooProvider
 Inherited
loadCopyright(center:LatLng, bounds:LatLngBounds, zoom:Number, event:String = ""):void
Loads copyright information for the specified area from the url defined by the copyrightURL property.
XMLProvider
 Inherited
setLogo(logo:*):void
Setups the logo for the provider, loads it if necessary.
DefaultProvider
Protected Methods
 MethodDefined by
 Inherited
getMapTypeCopyright(bounds:LatLngBounds, zoom:Number, mapType:IMapType = null):void
Queries specified map type for copyright string and generates COPYRIGHT_CHANGED event.
DefaultProvider
 Inherited
initMapTypes():void
Override this function to define map types.
DefaultProvider
 Inherited
loadNextCopyright(url:URLRequest = null):void
Loads the queued copyright request.
XMLProvider
 Inherited
parseCopyright(data:String):void
Abstract method.
XMLProvider
 Inherited
parseLanguage(data:String):Boolean
Abstract method.
XMLProvider
 Inherited
parseSettings(data:String):Boolean
Parses the XML data with the provider settings.
XMLProvider
Public Constants
 ConstantDefined by
  HYBRID : String = "hybrid"
[static] Defines the name of the hybrid map type.
YahooProvider
 InheritedLOADING_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
 InheritedLOADING_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
 InheritedLOADING_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
 InheritedLOADING_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
Constructor detail
YahooProvider()constructor
public function YahooProvider(defaultData:Boolean = false, settings:* = null)

Creates new Yahoo Provider.

Parameters
defaultData: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.
Method detail
getDefaultCopyright()method
public override function getDefaultCopyright():String

Returns default copyright string.

Returns
String
init()method 
public override function init(core:UMap):void

Initializes the provider and starts the loading process.

Parameters
core:UMap — Reference to the core object.
Constant detail
HYBRIDconstant
public static const HYBRID:String = "hybrid"

Defines the name of the hybrid map type.

MAPconstant 
public static const MAP:String = "map"

Defines the name of the Map map type.

SATELLITEconstant 
public static const SATELLITE:String = "satellite"

Defines the name of the satellite map type.