二三维联动(AssociatingMapAndScene) |
示范二三维联动及在地图窗口和场景窗口下模型同时沿线飞行。
安装目录\SampleData\AssociatingMapAndScene\AssociatingMapAndScene.smwu
安装目录\SampleData\AssociatingMapAndScene\PlaceMark.kml
安装目录\SampleData\AssociatingMapAndScene\Plane.png
安装目录\SampleData\AssociatingMapAndScene\AirPlane\Airplane.SGM
控件/类 | 方法 | 事件 |
Workspace | open | |
SceneControl | getScene | MouseEvent、MouseWheelEvent |
Scene | getTimer、getTrackingLayer、setAutoLockTarget、setAutoLockOffset | |
MapControl | getMap | MouseEvent、MouseWheelEvent |
Map | getTrackingLayer | MapDrawnEvent |
TrackingLayer3D | indexOf、get、set、add、remove、clear |
![]() |
安装目录\SampleCode\AssociatingMapAndScene\