Packagecom.yahoo.maps.api
Interfacepublic interface IYahooMap extends flash.events.IEventDispatcher
ImplementorsYahooMap



Public Properties
 PropertyDefined by
  appid : String
IYahooMap
  centerLatLon : LatLon
IYahooMap
  centerOnDoubleClick : Boolean
IYahooMap
  config : MapConfig
[read-only]
IYahooMap
  crosshairWidget : CrosshairWidget
[read-only]
IYahooMap
  initialized : Boolean
[read-only]
IYahooMap
  keyboardControlsEnabled : Boolean
IYahooMap
  mapBase : MapBase
[read-only]
IYahooMap
  mapContainer : Sprite
[read-only]
IYahooMap
  mapHeight : Number
[read-only]
IYahooMap
  mapType : String
IYahooMap
  mapTypeWidget : MapTypeWidget
[read-only]
IYahooMap
  mapWidth : Number
[read-only]
IYahooMap
  markerManager : MarkerManager
[read-only]
IYahooMap
  overlayManager : OverlayManager
[read-only]
IYahooMap
  panControl : PanControl
[read-only]
IYahooMap
  scaleBarWidget : ScaleBarWidget
[read-only]
IYahooMap
  zoomLevel : int
IYahooMap
  zoomWidget : ZoomWidget
[read-only]
IYahooMap
Public Methods
 MethodDefined by
  
addCrosshair():void
IYahooMap
  
IYahooMap
  
addScaleBar():void
IYahooMap
  
IYahooMap
  
IYahooMap
  
getFeetToPixels(feet:Number, latitude:Number):Number
IYahooMap
  
getKilometersToPixels(kilometers:Number, latitude:Number):Number
IYahooMap
  
getLatLonToXY(latlon:LatLon):Point
IYahooMap
  
IYahooMap
  
getMetersToPixels(meters:Number, latitude:Number):Number
IYahooMap
  
getMilesToPixels(miles:Number, latitude:Number):Number
IYahooMap
  
getVersion():String
IYahooMap
  
getXYToLatLon(point:Point):LatLon
IYahooMap
  
getZoomRange():Array
IYahooMap
  
init(appid:String, width:Number, height:Number, locale:String = "en"):void
IYahooMap
  
panToLatLon(latlon:LatLon, duration:Number = 250):Object
IYahooMap
  
IYahooMap
  
IYahooMap
  
IYahooMap
  
IYahooMap
  
IYahooMap
  
setCenterAddress(address:Address):void
IYahooMap
  
setCenterByPixels(point:Point):void
IYahooMap
  
setCenterWoeId(woeid:uint):void
IYahooMap
  
setHandCursor(value:Boolean):void
IYahooMap
  
IYahooMap
  
setZoomRange(minZoomLevel:Number, maxZoomLevel:Number):void
IYahooMap
Property detail
appidproperty
appid:String  [read-write]Implementation
    public function get appid():String
    public function set appid(value:String):void
centerLatLonproperty 
centerLatLon:LatLon  [read-write]Implementation
    public function get centerLatLon():LatLon
    public function set centerLatLon(value:LatLon):void
centerOnDoubleClickproperty 
centerOnDoubleClick:Boolean  [read-write]Implementation
    public function get centerOnDoubleClick():Boolean
    public function set centerOnDoubleClick(value:Boolean):void
configproperty 
config:MapConfig  [read-only]Implementation
    public function get config():MapConfig
crosshairWidgetproperty 
crosshairWidget:CrosshairWidget  [read-only]Implementation
    public function get crosshairWidget():CrosshairWidget
initializedproperty 
initialized:Boolean  [read-only]Implementation
    public function get initialized():Boolean
keyboardControlsEnabledproperty 
keyboardControlsEnabled:Boolean  [read-write]Implementation
    public function get keyboardControlsEnabled():Boolean
    public function set keyboardControlsEnabled(value:Boolean):void
mapBaseproperty 
mapBase:MapBase  [read-only]Implementation
    public function get mapBase():MapBase
mapContainerproperty 
mapContainer:Sprite  [read-only]Implementation
    public function get mapContainer():Sprite
mapHeightproperty 
mapHeight:Number  [read-only]Implementation
    public function get mapHeight():Number
mapTypeproperty 
mapType:String  [read-write]Implementation
    public function get mapType():String
    public function set mapType(value:String):void
mapTypeWidgetproperty 
mapTypeWidget:MapTypeWidget  [read-only]Implementation
    public function get mapTypeWidget():MapTypeWidget
mapWidthproperty 
mapWidth:Number  [read-only]Implementation
    public function get mapWidth():Number
markerManagerproperty 
markerManager:MarkerManager  [read-only]Implementation
    public function get markerManager():MarkerManager
overlayManagerproperty 
overlayManager:OverlayManager  [read-only]Implementation
    public function get overlayManager():OverlayManager
panControlproperty 
panControl:PanControl  [read-only]Implementation
    public function get panControl():PanControl
scaleBarWidgetproperty 
scaleBarWidget:ScaleBarWidget  [read-only]Implementation
    public function get scaleBarWidget():ScaleBarWidget
zoomLevelproperty 
zoomLevel:int  [read-write]Implementation
    public function get zoomLevel():int
    public function set zoomLevel(value:int):void
zoomWidgetproperty 
zoomWidget:ZoomWidget  [read-only]Implementation
    public function get zoomWidget():ZoomWidget
Method detail
addCrosshair()method
public function addCrosshair():void
addPanControl()method 
public function addPanControl():void
addScaleBar()method 
public function addScaleBar():void
addTypeWidget()method 
public function addTypeWidget():void
addZoomWidget()method 
public function addZoomWidget():void
getFeetToPixels()method 
public function getFeetToPixels(feet:Number, latitude:Number):NumberParameters
feet:Number
 
latitude:Number

Returns
Number
getKilometersToPixels()method 
public function getKilometersToPixels(kilometers:Number, latitude:Number):NumberParameters
kilometers:Number
 
latitude:Number

Returns
Number
getLatLonToXY()method 
public function getLatLonToXY(latlon:LatLon):PointParameters
latlon:LatLon

Returns
Point
getMapBounds()method 
public function getMapBounds():BoundingBox

Returns
BoundingBox
getMetersToPixels()method 
public function getMetersToPixels(meters:Number, latitude:Number):NumberParameters
meters:Number
 
latitude:Number

Returns
Number
getMilesToPixels()method 
public function getMilesToPixels(miles:Number, latitude:Number):NumberParameters
miles:Number
 
latitude:Number

Returns
Number
getVersion()method 
public function getVersion():String

Returns
String
getXYToLatLon()method 
public function getXYToLatLon(point:Point):LatLonParameters
point:Point

Returns
LatLon
getZoomRange()method 
public function getZoomRange():Array

Returns
Array
init()method 
public function init(appid:String, width:Number, height:Number, locale:String = "en"):voidParameters
appid:String
 
width:Number
 
height:Number
 
locale:String (default = "en")
panToLatLon()method 
public function panToLatLon(latlon:LatLon, duration:Number = 250):ObjectParameters
latlon:LatLon
 
duration:Number (default = 250)

Returns
Object
removeCrosshair()method 
public function removeCrosshair():void
removePanControl()method 
public function removePanControl():void
removeScaleBar()method 
public function removeScaleBar():void
removeTypeWidget()method 
public function removeTypeWidget():void
removeZoomWidget()method 
public function removeZoomWidget():void
setCenterAddress()method 
public function setCenterAddress(address:Address):voidParameters
address:Address
setCenterByPixels()method 
public function setCenterByPixels(point:Point):voidParameters
point:Point
setCenterWoeId()method 
public function setCenterWoeId(woeid:uint):voidParameters
woeid:uint
setHandCursor()method 
public function setHandCursor(value:Boolean):voidParameters
value:Boolean
setMapBounds()method 
public function setMapBounds(bounds:BoundingBox):voidParameters
bounds:BoundingBox
setZoomRange()method 
public function setZoomRange(minZoomLevel:Number, maxZoomLevel:Number):voidParameters
minZoomLevel:Number
 
maxZoomLevel:Number