0

如何使用 AS3 api 在 Flash 谷歌地图中移动 positionControl?

4

1 回答 1

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));
于 2012-11-02T21:36:29.347 回答