| Package | com.yahoo.maps.api.overlays |
| Class | public class Overlay |
| Inheritance | Overlay flash.display.Sprite |
| Implements | IOverlay |
| Subclasses | CircleOverlay, PolylineOverlay |
| Property | Defined by | ||
|---|---|---|---|
| container : Sprite
A reference to the maps overlay container.
| Overlay | ||
| map : IYahooMap
A reference to the YahooMap class.
| Overlay | ||
| Method | Defined by | ||
|---|---|---|---|
|
Overlay()
Creates a new Overlay object
| Overlay | ||
|
destroy():void
Frees the overlays resources in preparation for garbage collection.
| Overlay | ||
|
getLatLonToLocalPoint(latlon:LatLon):Point
Converts a LatLon point to a local XY Point
| Overlay | ||
|
getLocalPointToLatLon(point:Point):LatLon
Converts a local XY point to a LatLon object.
| Overlay | ||
|
lineToLatLon(latlon:LatLon):void
Draws a line using the current line style from the current drawing position to the specified LatLon location; the current drawing position is then set to the LatLon location.
| Overlay | ||
|
moveToLatLon(latlon:LatLon):void
Moves the current drawing position to the specified latitude and longitude point.
| Overlay | ||
|
onMapMove(event:YahooMapEvent):void
Map move event handler.
| Overlay | ||
|
onMapResize(event:YahooMapEvent):void
Map resize event handler.
| Overlay | ||
|
onMapZoom(event:YahooMapEvent):void
Map zoom event handler.
| Overlay | ||
|
onTypeChanged(event:YahooMapEvent):void
Map type change event handler.
| Overlay | ||
| container | property |
container:Sprite [read-write]A reference to the maps overlay container.
Implementation public function get container():Sprite
public function set container(value:Sprite):void
| map | property |
map:IYahooMap [read-write]A reference to the YahooMap class.
Implementation public function get map():IYahooMap
public function set map(value:IYahooMap):void
See also
| Overlay | () | constructor |
public function Overlay()Creates a new Overlay object
| destroy | () | method |
public function destroy():voidFrees the overlays resources in preparation for garbage collection.
| getLatLonToLocalPoint | () | method |
public function getLatLonToLocalPoint(latlon:LatLon):PointConverts a LatLon point to a local XY Point
Parameterslatlon:LatLon — A LatLon object.
|
Point — A Point object.
|
See also
| getLocalPointToLatLon | () | method |
public function getLocalPointToLatLon(point:Point):LatLonConverts a local XY point to a LatLon object.
Parameterspoint:Point — A point object.
|
LatLon —
A LatLon object
|
See also
| lineToLatLon | () | method |
public function lineToLatLon(latlon:LatLon):voidDraws a line using the current line style from the current drawing position to the specified LatLon location; the current drawing position is then set to the LatLon location.
Parameterslatlon:LatLon |
See also
| moveToLatLon | () | method |
public function moveToLatLon(latlon:LatLon):voidMoves the current drawing position to the specified latitude and longitude point.
Parameterslatlon:LatLon |
See also
| onMapMove | () | method |
public function onMapMove(event:YahooMapEvent):voidMap move event handler. You should override this function if needed
Parametersevent:YahooMapEvent |
| onMapResize | () | method |
public function onMapResize(event:YahooMapEvent):voidMap resize event handler. You should override this function if needed
Parametersevent:YahooMapEvent |
| onMapZoom | () | method |
public function onMapZoom(event:YahooMapEvent):voidMap zoom event handler. You should override this function if needed.
Parametersevent:YahooMapEvent |
| onTypeChanged | () | method |
public function onTypeChanged(event:YahooMapEvent):voidMap type change event handler. You should override this function if needed
Parametersevent:YahooMapEvent |