JC Flash Map Methods
Overview | Properties | Methods | Events | Markers
Method | Description |
addMarker(newMarker:Marker): void |
Adds a new marker to the map. Parameters newMarker:Marker - the instance of the Marker object that will be added to the map. Example
import com.jumpeye.jcflashmap.components. MapPoint;
|
addMarkers(markersList:Array): void |
Adds a list of markers to the map. Parameters markersList:Array - an array containing instances of the new Marker objects that will be added to the map. Example
import com.jumpeye.jcflashmap.components. MapPoint;
|
getMarkerByID(id:String): Marker |
Gets a reference to a one of the markers on the map, according to the marker id passed as argument. Parameters id:String - the id of the marker to be referenced. Returns Marker - a reference to the marker whose id was passed as argument to the method. Example
import com.jumpeye.jcflashmap.components. MapPoint;
|
removeAllMarkers():void |
Removes all the markers from the map. Example
myMap.removeAllMarkers();
|
removeMarker(targetMarker: Marker):Boolean |
Removes a marker from the map. Parameters targetMarker:Marker - the Marker instance that should be removed from the map. Returns Boolean - true if the marker was removed successfully, false otherwise Example import com.jumpeye.jcflashmap.components.MapPoint; var mk:Marker = myMap.getMarkerByID("2"); var wasRemoved:Boolean = myMap.removeMarker(mk); if (wasRemoved) trace("Marker was removed with success"); else trace("Marker could not removed"); |
Overview | Properties | Methods | Events | Markers
The free version contains watermark and can be used for trial purposes only.
Watermarked