| Package | com.afcomponents.umap.overlays |
| Class | public class TileLayerOverlay |
| Inheritance | TileLayerOverlay MapObjectContainer MapObject flash.display.Sprite |
| Implements | IOverlay |
| Subclasses | BingTrafficLayer |
ITileLayer interface.
With it you can create a tiled ground overlays that will work with most
| Property | Defined by | ||
|---|---|---|---|
![]() | asDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
| MapObject | |
| autoCloseInfo : Boolean
Gets or sets the autCloseInfo flag, which indicates whether to close
info window automatically when user clicks somewhere on the map.
| TileLayerOverlay | ||
| autoInfo : Boolean
Gets or sets the autInfo flag, which indicates whether to open info window automatically upon mouse click.
| TileLayerOverlay | ||
![]() | core : UMap
Returns reference to the core UMap object.
| MapObject | |
![]() | id : uint
Gets or sets the ID of the object.
| MapObject | |
| info : IInfoWindow
[read-only]
Return referens to opened InfoWindow
| TileLayerOverlay | ||
![]() | name : String
Gets or sets the name of the object.
| MapObject | |
![]() | owner : IMapObjectContainer
Returns reference to the owner container object.
| MapObject | |
| Method | Defined by | ||
|---|---|---|---|
|
TileLayerOverlay(param:Object)
| TileLayerOverlay | ||
![]() |
addObject(object:IMapObject):void
Adds new IMapObject to the container.
| MapObjectContainer | |
![]() |
bringForward(object:IMapObject):void
Moves the attached IMapObject forward in the display list.
| MapObjectContainer | |
![]() |
bringToFront(object:IMapObject):void
Brings the attached IMapObject to the top of the display list.
| MapObjectContainer | |
![]() |
clearObjects(filter:Class = null):void
Removes all attached objects.
| MapObjectContainer | |
|
dispose():void
Releases all the resources accuired by the object.
| TileLayerOverlay | ||
![]() |
getObject(id_or_name:*, filter:Class = null):IMapObject
Searches for an object with specified id or name.
| MapObjectContainer | |
![]() |
getObjectById(id:uint, filter:Class = null):IMapObject
Searches for an object with specified id.
| MapObjectContainer | |
![]() |
getObjectByName(name:String, matchCase:Boolean = false, filter:Class = null):IMapObject
Searches for an object with specified name.
| MapObjectContainer | |
![]() |
getObjects(filter:Class = null):Array
Returns an array of IMapObjects that where added to the container.
| MapObjectContainer | |
|
hide():void
Hides overlay.
| TileLayerOverlay | ||
![]() |
isOwnerVisible():Boolean
Recursevly checks visibility of parent objects
| MapObjectContainer | |
|
refresh(full:Boolean = false):void
Refreshes overlay position on the map.
| TileLayerOverlay | ||
![]() |
remove():void
Removes the object from the owner container object.
| MapObject | |
![]() |
removeObject(object:IMapObject):void
Removes IMapObject from the container.
| MapObjectContainer | |
|
resetSegments():void
Resets all the created segments for the layer.
| TileLayerOverlay | ||
![]() |
sendBackward(object:IMapObject):void
Sends the attached IMapObject backward in the display list.
| MapObjectContainer | |
![]() |
sendToBack(object:IMapObject):void
Sends the attached IMapObject to the bottom of the display list.
| MapObjectContainer | |
![]() |
setOwner(owner:IMapObjectContainer):void
Adds the object to the specified IMapObjectContainer.
| MapObjectContainer | |
|
setScale(factor:Number):void
Sets scaling factor for the layer.
| TileLayerOverlay | ||
|
setViewport(width:uint = 0, height:uint = 0):void
Changes the dimensions of the viewport.
| TileLayerOverlay | ||
|
show():void
Shows overlay.
| TileLayerOverlay | ||
![]() |
toString():String
Returns a textual representation of the object.
| MapObject | |
|
updateMapType(mapType:IMapType):void
Invoked when map type has been changed.
| TileLayerOverlay | ||
|
updatePosition(latlng:LatLng):void
Invoked when map center has been updated.
| TileLayerOverlay | ||
|
updateZoom(zoom:Number):void
Invoked when map zoom has been updated.
| TileLayerOverlay | ||
| autoCloseInfo | property |
autoCloseInfo:Boolean [read-write]Gets or sets the autCloseInfo flag, which indicates whether to close info window automatically when user clicks somewhere on the map.
Implementation public function get autoCloseInfo():Boolean
public function set autoCloseInfo(value:Boolean):void
| autoInfo | property |
autoInfo:Boolean [read-write]Gets or sets the autInfo flag, which indicates whether to open info window automatically upon mouse click.
Implementation public function get autoInfo():Boolean
public function set autoInfo(value:Boolean):void
| info | property |
info:IInfoWindow [read-only]Return referens to opened InfoWindow
Implementation public function get info():IInfoWindow
| TileLayerOverlay | () | constructor |
public function TileLayerOverlay(param:Object)Parameters
param:Object |
| dispose | () | method |
public override function dispose():voidReleases all the resources accuired by the object.
| hide | () | method |
public function hide():void
Hides overlay.
Fires OverlayEvent.HIDE & OverlayEvent.CHAGNED events if visibility has been changed.
| refresh | () | method |
public function refresh(full:Boolean = false):void
Refreshes overlay position on the map.
If the full paramter is set to true then bitmap coordinates for this overlay should be recalculated.
full:Boolean (default = false) — Indicates whether to recalculate bitmap coordinats.
|
| resetSegments | () | method |
public function resetSegments():voidResets all the created segments for the layer.
| setScale | () | method |
public function setScale(factor:Number):voidSets scaling factor for the layer.
Parametersfactor:Number |
| setViewport | () | method |
public function setViewport(width:uint = 0, height:uint = 0):voidChanges the dimensions of the viewport.
Parameterswidth:uint (default = 0) |
|
height:uint (default = 0) |
| show | () | method |
public function show():void
Shows overlay.
Fires OverlayEvent.SHOW & OverlayEvent.CHAGNED events if visibility has been changed.
| updateMapType | () | method |
public function updateMapType(mapType:IMapType):voidInvoked when map type has been changed.
ParametersmapType:IMapType — Reference to the new map type.
|
| updatePosition | () | method |
public function updatePosition(latlng:LatLng):voidInvoked when map center has been updated.
Parameterslatlng:LatLng — Geographical coordinates of the new map center.
|
| updateZoom | () | method |
public function updateZoom(zoom:Number):voidInvoked when map zoom has been updated.
Parameterszoom:Number — New zoom level.
|