Packagecom.afcomponents.umap.interfaces
Interfacepublic interface ITileLayer
ImplementorsTileLayer

ITileLayer defines a class which holds information about a tiled layer.



Public Properties
 PropertyDefined by
  alpha : Number
ITileLayer
  baseURL : String
ITileLayer
  mapType : IMapType
ITileLayer
  maxZoom : uint
ITileLayer
  minZoom : uint
ITileLayer
  noError : Boolean
ITileLayer
  serverCount : uint
[read-only]
ITileLayer
  servers : Array
[read-only]
ITileLayer
  version : String
ITileLayer
Public Methods
 MethodDefined by
  
addServer(server:String):void
ITileLayer
  
dispose():void
Releases all the resources accuired by the object.
ITileLayer
  
getCopyright(bounds:LatLngBounds, zoom:Number):String
ITileLayer
  
getServerURL(url:String, server:uint = 0):String
ITileLayer
  
getTileURL(tile:Point, zoom:uint):String
Returns the URL of the map tile with the specified position and zoom level.
ITileLayer
Property detail
alphaproperty
alpha:Number  [read-write]

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
baseURLproperty 
baseURL:String  [read-write]

Implementation
    public function get baseURL():String
    public function set baseURL(value:String):void
mapTypeproperty 
mapType:IMapType  [read-write]

Implementation
    public function get mapType():IMapType
    public function set mapType(value:IMapType):void
maxZoomproperty 
maxZoom:uint  [read-write]

Implementation
    public function get maxZoom():uint
    public function set maxZoom(value:uint):void
minZoomproperty 
minZoom:uint  [read-write]

Implementation
    public function get minZoom():uint
    public function set minZoom(value:uint):void
noErrorproperty 
noError:Boolean  [read-write]

Implementation
    public function get noError():Boolean
    public function set noError(value:Boolean):void
serverCountproperty 
serverCount:uint  [read-only]

Implementation
    public function get serverCount():uint
serversproperty 
servers:Array  [read-only]

Implementation
    public function get servers():Array
versionproperty 
version:String  [read-write]

Implementation
    public function get version():String
    public function set version(value:String):void
Method detail
addServer()method
public function addServer(server:String):void

Parameters
server:String
dispose()method 
public function dispose():void

Releases all the resources accuired by the object.

getCopyright()method 
public function getCopyright(bounds:LatLngBounds, zoom:Number):String

Parameters
bounds:LatLngBounds
 
zoom:Number

Returns
String
getServerURL()method 
public function getServerURL(url:String, server:uint = 0):String

Parameters
url:String
 
server:uint (default = 0)

Returns
String
getTileURL()method 
public function getTileURL(tile:Point, zoom:uint):String

Returns the URL of the map tile with the specified position and zoom level. Position of a tile is described by a Point object with the x and y properties.

Parameters
tile:Point — A point that describes tile positon in the bitmap coordinates.
 
zoom:uint — Zoom level of the tile.

Returns
String — A string with the URL of the requested tile.