| Package | com.afcomponents.umap.overlays |
| Class | public class GPXLayer |
| Inheritance | GPXLayer KMLLayer Layer MapObjectContainer MapObject flash.display.Sprite |
| 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.
| Layer | |
![]() | autoInfo : Boolean
Gets or sets the autInfo flag, which indicates whether to open info window automatically upon mouse click.
| Layer | |
![]() | autoShow : Boolean
Gets or sets the autoShow property.
| KMLLayer | |
| backgroundLayer : Layer
[read-only]
Background layer for lines and polygons to halt the overlapping markers.
| GPXLayer | ||
![]() | core : UMap
Returns reference to the core UMap object.
| MapObject | |
![]() | description : String
Gets or sets the description text for the layer.
| Layer | |
![]() | expanded : Boolean
A flag which controls how this KML layer should be returned by toXML() method.
| KMLLayer | |
![]() | id : uint
Gets or sets the ID of the object.
| MapObject | |
![]() | info : IInfoWindow
Return referens to opened InfoWindow
| Layer | |
![]() | infoParam : Object
Gets or sets the info window param object.
| Layer | |
![]() | infoStyle : Object
Gets or sets the info window style object associated with the Overlay.
| Layer | |
![]() | keepXML : Boolean
Defines whether to keep XML in memory after downloading.
| KMLLayer | |
![]() | loader : URLLoader
Returns a reference to the Loader object that is used for loading data from an external source.
| KMLLayer | |
![]() | loading : Boolean
Returns
true if data from external source is being loaded. | KMLLayer | |
![]() | maxZoomLevel : Number
Gets or sets the maxZoomLevel property.
| KMLLayer | |
![]() | name : String
Gets or sets the name of the object.
| Layer | |
![]() | networkLinks : uint
Returns an array which holds references to the linked KMLLayers.
| KMLLayer | |
![]() | owner : IMapObjectContainer
Returns reference to the owner container object.
| MapObject | |
![]() | source : String
Returns URL of the layer's source data.
| KMLLayer | |
| styleContainer : StyleContainer [read-only]
Style container property for marker, geometry and info window styles.
| GPXLayer | ||
![]() | url : String
Defines the URL that should be exported via <networkLink> tag.
| KMLLayer | |
![]() | visible : Boolean
Gets or sets the Layer's visibility.
| Layer | |
![]() | xml : XML
Returns a reference to the XML object with KML data.
| KMLLayer | |
| Method | Defined by | ||
|---|---|---|---|
|
GPXLayer(params:Object = null)
| GPXLayer | ||
![]() |
addObject(object:IMapObject):void
Adds new IMapObject to the container.
| MapObjectContainer | |
![]() |
Adds new IOverlay to this Layer, invalidates and refreshes it.
| Layer | |
![]() |
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 | |
![]() |
cancel():void
Cancels the loading progress in this KMLLayer and all the linked KMLLayers.
| KMLLayer | |
![]() |
clearObjects(filter:Class = null):void
Removes all attached objects.
| MapObjectContainer | |
![]() |
clearOverlays():void
Removes all attached overlays from the layer.
| Layer | |
![]() |
Creates an exact copy of this Layer with the attached Overlays and returns it to the user.
| Layer | |
![]() |
dispose():void
Releases all the resources accuired by the object.
| KMLLayer | |
![]() |
[static]
Creates new KMLLayer from XML object in KML 2.2 format.
| KMLLayer | |
![]() |
Retruns Overlay bounds in geographical coordinates.
| Layer | |
![]() |
getBoundsXY(zoom:Number = 0):Bounds
Retruns Overlay bounds in bitmap coordinates.
| Layer | |
![]() |
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 | |
![]() |
getOverlay(id_or_name:*):IOverlay
Searches for an IOverlay object with specified id or name.
| Layer | |
![]() |
getOverlays():Array
Returns an array of IOverlay objects that where added to the Layer.
| Layer | |
![]() |
hide():void
Hides the Layer.
| Layer | |
![]() |
invalidate():void
Schedules the Layer for invalidation in 1 frame after this call.
| Layer | |
![]() |
isOwnerVisible():Boolean
Recursevly checks visibility of parent objects
| MapObjectContainer | |
![]() |
load(source:*):Boolean
Loads KML data from the specified source.
| KMLLayer | |
![]() |
redraw():void
Invalidates Overlays attached to the Layer.
| Layer | |
![]() |
refresh(full:Boolean = false):void
Refreshes the position of the Overlays attached to the Layer.
| Layer | |
![]() |
remove():void
Removes the object from the owner container object.
| MapObject | |
![]() |
removeObject(object:IMapObject):void
Removes IMapObject from the container.
| MapObjectContainer | |
![]() |
removeOverlay(overlay:IOverlay):void
Removes target IOverlay from the Layer.
| Layer | |
![]() |
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.
| Layer | |
![]() |
show():void
Shows the Layer.
| Layer | |
![]() |
toString():String
Returns a textual representation of the object.
| MapObject | |
![]() |
toXML(full:Boolean = true, afcTags:Boolean = false):XML
Builds an XML object in KML 2.1 format that describes the Overlay & it's style.
| KMLLayer | |
![]() |
updateMapType(mapType:IMapType):void
Invoked when map type has been changed.
| Layer | |
![]() |
updatePosition(latlng:LatLng):void
Invoked when the map position has been updated.
| Layer | |
![]() |
updateZoom(zoom:Number):void
Invoked when map the zoom has been updated.
| Layer | |
| backgroundLayer | property |
backgroundLayer:Layer [read-only]Background layer for lines and polygons to halt the overlapping markers.
Implementation public function get backgroundLayer():Layer
| styleContainer | property |
styleContainer:StyleContainer [read-only]Style container property for marker, geometry and info window styles.
Implementation public function get styleContainer():StyleContainer
| GPXLayer | () | constructor |
public function GPXLayer(params:Object = null)Parameters
params:Object (default = null) |