| Package | com.afcomponents.umap.providers.openstreet |
| Class | public class OpenStreetProvider |
| Inheritance | OpenStreetProvider XMLProvider DefaultProvider flash.events.EventDispatcher |
| Implements | IProvider |
| Method | Defined by | ||
|---|---|---|---|
|
OpenStreetProvider(defaultData:Boolean = false, settings:* = null)
Creates new OpenStreet Provider.
| OpenStreetProvider | ||
![]() |
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.
| XMLProvider | |
![]() |
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.
| XMLProvider | |
![]() |
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 | ||
|---|---|---|---|
| CYCLEMAP : String = "cyclemap" [static]
Defines the name of the cycle map type.
| OpenStreetProvider | ||
![]() | 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 | |
| MAPNIK : String = "mapnik" [static]
Defines the name of the Mapnik map type.
| OpenStreetProvider | ||
| OSMARENDER : String = "osmarender" [static]
Defines the name of the Osmarender map type.
| OpenStreetProvider | ||
| OpenStreetProvider | () | constructor |
public function OpenStreetProvider(defaultData:Boolean = false, settings:* = null)Creates new OpenStreet 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.
|
| CYCLEMAP | constant |
public static const CYCLEMAP:String = "cyclemap"Defines the name of the cycle map type.
| MAPNIK | constant |
public static const MAPNIK:String = "mapnik"Defines the name of the Mapnik map type.
| OSMARENDER | constant |
public static const OSMARENDER:String = "osmarender"Defines the name of the Osmarender map type.