| Package | org.openscales.core.layer.osm |
| Class | public class CycleMap |
| Inheritance | CycleMap OSM TMS Grid HTTPRequest Layer flash.display.Sprite |
| Method | Defined by | ||
|---|---|---|---|
|
CycleMap(name:String, isBaseLayer:Boolean = false, visible:Boolean = true, projection:String = null, proxy:String = null)
| CycleMap | ||
![]() | TMS | ||
![]() |
addTileCache(url:String, loader:Loader):void
Methodd to cache a tile
| Grid | |
![]() |
clear():void
Go through and remove all tiles from the grid, calling
destroy() on each of them to kill circular references
| Grid | |
![]() |
destroy(newBaseLayer:Boolean = true):void
| Grid | |
![]() |
generateResolutions(numZoomLevels:uint, nominalResolution:Number):void
| Layer | |
![]() |
Return a LonLat which is the passed-in map Pixel, translated into
lon/lat by the layer.
| Layer | |
![]() |
Return a Pixel which is the passed-in LonLat,translated into map pixels.
| Layer | |
![]() |
Returns The tile bounds for a layer given a pixel location.
| Grid | |
![]() |
getTileCache(url:String):Loader
Method to get a cached tile by its url
| Grid | |
![]() |
Return the bounds of the tile grid.
| Grid | |
![]() | OSM | ||
![]() |
getUrls():Array
| HTTPRequest | |
![]() |
getZoomForExtent(extent:Bounds):Number
| Layer | |
![]() |
getZoomForResolution(resolution:Number):Number
Return The index of the zoomLevel (entry in the resolutions array)
that corresponds to the best fit resolution given the passed in
value and the 'closest' specification.
| Layer | |
![]() |
initGriddedTiles(bounds:Bounds):void
| Grid | |
![]() |
initSingleTile(bounds:Bounds):void
Initialization singleTile
| Grid | |
![]() |
moveGriddedTiles(bounds:Bounds):void
| Grid | |
![]() | Layer | ||
![]() |
onMapResize(e:MapEvent):void
| Layer | |
![]() | Grid | ||
![]() |
onSecurityInitialized(e:SecurityEvent):void
| Layer | |
![]() |
redraw(fullRedraw:Boolean = true):void
| Grid | |
![]() |
removeExcessTiles(rows:int, columns:int):void
When the size of the map or the buffer changes, we may need to
remove some excess rows and columns.
| Grid | |
![]() |
removeTileMonitoringHooks(tile:Tile):void
| Grid | |
![]() |
reset():void
Reset layer data
| Layer | |
![]() |
selectUrl(paramString:String, urls:Array):String
selectUrl() implements the standard floating-point multiplicative
hash function described by Knuth, and hashes the contents of the
given param string into a float between 0 and 1.
| HTTPRequest | |
| CycleMap | () | constructor |
public function CycleMap(name:String, isBaseLayer:Boolean = false, visible:Boolean = true, projection:String = null, proxy:String = null)Parameters
name:String |
|
isBaseLayer:Boolean (default = false) |
|
visible:Boolean (default = true) |
|
projection:String (default = null) |
|
proxy:String (default = null) |