Packagecom.yahoo.maps.api.markers
Classpublic class SimpleMarker
InheritanceSimpleMarker Inheritance Marker Inheritance flash.display.Sprite

The SimpleMarker 'simply' extends the Marker class and provides a visual cue to the location.


Example
   var marker:SimpleMarker = new SimpleMarker();
   marker.address = new Address("Sunnyvale, CA");
   _map.markerManager.addMarker(marker);
  

See also

Marker;


Public Properties
 PropertyDefined by
 Inheritedaddress : Address
The markers location as an Address
Marker
 Inheritedcontainer : Sprite
The container in which all markers are children of.
Marker
 InheriteddragEnabled : Boolean
Determines whether the marker is draggable.
Marker
 InheritedgroupId : String
An ID which you can assign to the marker, to enable you to fetch a group of markers using the MarkerManager.
Marker
 Inheritedlatlon : LatLon
The markers location as a latitude and longitude.
Marker
 Inheritedmanager : MarkerManager
Marker
 Inheritedmap : IYahooMap
A reference to the owning YahooMap instance.
Marker
 InheritedmaxZoom : int
The maximum zoom level this marker should be shown at.
Marker
 InheritedminZoom : int
The minimum zoom level this marker should be shown at.
Marker
Public Methods
 MethodDefined by
  
Creates a new SimpleMarker object.
SimpleMarker
 Inherited
Returns the markers current position as a LatLon object by converting the markers local XY point.
Marker
 Inherited
destroy():void
Frees the markers resources in preparation for garbage collection.
Marker
 Inherited
Converts a LatLon object to a local XY point.
Marker
 Inherited
Converts a local XY point to a LatLon object.
Marker
 Inherited
promoteToTop():void
Sets the marker child index (its depth) to the top in the marker container.
Marker
Events
 EventSummaryDefined by
 Inherited  Marker
 Inherited  Marker
 Inherited  Marker
 Inherited  Marker
 Inherited  Marker
 Inherited  Marker
 Inherited  Marker
Constructor detail
SimpleMarker()constructor
public function SimpleMarker()

Creates a new SimpleMarker object.