memo
[as]package {
public class MyMarker extends Marker {
public function MyMarker(){}
// get x,y from left top of map
public function getXY():Point{
var mapBounds :Bounds = core.getBoundsXY();
var myBounds :Bounds = getBoundsXY();
return new Point(myBounds.min.x-mapBounds.min.x,myBounds.min.y-mapBounds.min.y);
}
}
}[/as]