| Package | com.yahoo.maps.api.markers |
| Class | public class SimpleMarker |
| Inheritance | SimpleMarker Marker flash.display.Sprite |
var marker:SimpleMarker = new SimpleMarker();
marker.address = new Address("Sunnyvale, CA");
_map.markerManager.addMarker(marker);
See also
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new SimpleMarker object.
| SimpleMarker | ||
![]() |
Returns the markers current position as a LatLon object by converting the markers local XY point.
| Marker | |
![]() |
destroy():void
Frees the markers resources in preparation for garbage collection.
| Marker | |
![]() |
getLatLonToLocalPoint(latlon:LatLon):Point
Converts a LatLon object to a local XY point.
| Marker | |
![]() |
getLocalPointToLatLon(point:Point):LatLon
Converts a local XY point to a LatLon object.
| Marker | |
![]() |
promoteToTop():void
Sets the marker child index (its depth) to the top in the marker container.
| Marker | |