Packagecom.afcomponents.umap.providers.zoomify
Classpublic class ZoomifyProvider
InheritanceZoomifyProvider Inheritance XMLProvider Inheritance DefaultProvider Inheritance flash.events.EventDispatcher

ZoomifyProvider



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
  _images : String
Location of the tile images.
ZoomifyProvider
 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
  _projection : IProjection
Projection that should be used for the map type.
ZoomifyProvider
 Inherited_settings : *
Settings URL.
XMLProvider
Public Methods
 MethodDefined by
  
ZoomifyProvider(settings_url:*, images_url:String = null, projection:IProjection = null)
Creates new zoomify provider.
ZoomifyProvider
 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
 Inherited
Returns default copyright string.
XMLProvider
 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
  
parseSettings(data:String):Boolean
ZoomifyProvider
Public Constants
 ConstantDefined by
  DEFAULT_PROJECTION : Class
[static]
ZoomifyProvider
 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
Property detail
_imagesproperty
protected var _images:String

Location of the tile images.

_projectionproperty 
protected var _projection:IProjection

Projection that should be used for the map type.

Constructor detail
ZoomifyProvider()constructor
public function ZoomifyProvider(settings_url:*, images_url:String = null, projection:IProjection = null)

Creates new zoomify provider. You should specify URL of the ImageProperties.xml file that has been generated by zoomify splitter. Additionally you can specify the location of the tiles. If you ommit this parameter, xml directory path will be used.

Parameters
settings_url:*String or URLRequest that specifies location of the ImageProperties.xml file.
 
images_url:String (default = null)String that defines the location of the tile images. If you ommit this parameter, xml directory path will be used.
 
projection:IProjection (default = null)
Method detail
parseSettings()method
protected override function parseSettings(data:String):BooleanParameters
data:String

Returns
Boolean
Constant detail
DEFAULT_PROJECTIONconstant
public static const DEFAULT_PROJECTION:Class