Packagecom.afcomponents.umap.providers.microsoft
Classpublic class MicrosoftProvider
InheritanceMicrosoftProvider Inheritance XMLProvider Inheritance DefaultProvider Inheritance flash.events.EventDispatcher
ImplementsIProvider

MicrosfotProvider



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_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 : URLRequest
Settings URL.
XMLProvider
Public Methods
 MethodDefined by
  
MicrosoftProvider(defaultData:Boolean = false, settings:* = null)
MicrosoftProvider Provider constructor.
MicrosoftProvider
 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.
MicrosoftProvider
 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
 Inherited
init(core:UMap):void
Initializes the provider and starts the loading process.
XMLProvider
 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
  AERIAL : String = "aerial"
[static] Defines the name of the Aerial map type.
MicrosoftProvider
  HYBRID : String = "hybrid"
[static] Defines the name of the Hybrid map type.
MicrosoftProvider
 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
  ROAD : String = "road"
[static] Defines the name of the Road map type.
MicrosoftProvider
Constructor detail
MicrosoftProvider()constructor
public function MicrosoftProvider(defaultData:Boolean = false, settings:* = null)

MicrosoftProvider Provider constructor.

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
Constant detail
AERIALconstant
public static const AERIAL:String = "aerial"

Defines the name of the Aerial map type.

HYBRIDconstant 
public static const HYBRID:String = "hybrid"

Defines the name of the Hybrid map type.

ROADconstant 
public static const ROAD:String = "road"

Defines the name of the Road map type.