如何使用AS3 api在flash google地图中移动positionControl?
答案 0 :(得分:0)
map.clearControls();
var positionControlOptions:PositionControlOptions = new PositionControlOptions({buttonSize: new Point(17, 17),buttonStyle: new ButtonStyle({}),buttonSpacing: new Point(4, 4),position: new ControlPosition(ControlPosition.ANCHOR_BOTTOM_LEFT, 10,30)});
map.addControl(new PositionControl(positionControlOptions));