Class: MapCesium

.Control. MapCesium

二三维地图联动(MapboxGL - Cesium)。

new MapCesium()

Source:
View2D/control/MapCesium.js
Example
//地图联动
var mc = new GeoGlobe.Control.MapCesium({
	map: map,
	viewer: viewer,
	isPitchChanged: true,
	isHeadingChanged: true
});
mc.setEnabled(true);  //开启同步

Members


isHeadingChanged :Boolean

是否旋转
Type:
  • Boolean
Default Value:
  • false
Source:
View2D/control/MapCesium.js

isPitchChanged :Boolean

是否倾斜
Type:
  • Boolean
Default Value:
  • false
Source:
View2D/control/MapCesium.js

map :Object

二维地图(MapboxGL)
Type:
  • Object
Default Value:
  • null
Source:
View2D/control/MapCesium.js

viewer :Object

三维地图(Cesium)
Type:
  • Object
Default Value:
  • null
Source:
View2D/control/MapCesium.js

Methods


initialize(options)

地图联动类的构造函数。
Parameters:
Name Type Description
options Object 构造参数选项。
Source:
View2D/control/MapCesium.js