| Package | com.afcomponents.umap.interfaces |
| Interface | public interface ITileLayer |
| Implementors | TileLayer |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| alpha | property |
alpha:Number [read-write]Implementation
public function get alpha():Number
public function set alpha(value:Number):void
| baseURL | property |
baseURL:String [read-write]Implementation
public function get baseURL():String
public function set baseURL(value:String):void
| mapType | property |
mapType:IMapType [read-write]Implementation
public function get mapType():IMapType
public function set mapType(value:IMapType):void
| maxZoom | property |
maxZoom:uint [read-write]Implementation
public function get maxZoom():uint
public function set maxZoom(value:uint):void
| minZoom | property |
minZoom:uint [read-write]Implementation
public function get minZoom():uint
public function set minZoom(value:uint):void
| noError | property |
noError:Boolean [read-write]Implementation
public function get noError():Boolean
public function set noError(value:Boolean):void
| serverCount | property |
serverCount:uint [read-only]Implementation
public function get serverCount():uint
| servers | property |
servers:Array [read-only]Implementation
public function get servers():Array
| version | property |
version:String [read-write]Implementation
public function get version():String
public function set version(value:String):void
| addServer | () | method |
public function addServer(server:String):voidParameters
server:String |
| dispose | () | method |
public function dispose():voidReleases all the resources accuired by the object.
| getCopyright | () | method |
public function getCopyright(bounds:LatLngBounds, zoom:Number):StringParameters
bounds:LatLngBounds |
|
zoom:Number |
String |
| getServerURL | () | method |
public function getServerURL(url:String, server:uint = 0):StringParameters
url:String |
|
server:uint (default = 0) |
String |
| getTileURL | () | method |
public function getTileURL(tile:Point, zoom:uint):StringReturns 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.
Parameterstile:Point — A point that describes tile positon in the bitmap coordinates.
|
|
zoom:uint — Zoom level of the tile.
|
String — A string with the URL of the requested tile.
|