1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| ///////////////////////////////////////////////////////////////////////////
| // Copyright © 2018 NarutoGIS. All Rights Reserved.
| // 模块描述:控制地图二三维模式切换
| ///////////////////////////////////////////////////////////////////////////
| define([
| 'dojo/_base/declare',
| 'dojo/_base/lang',
| 'jimu/BaseWidget',
| 'dojo/_base/html',
| 'dojo/dom-construct',
| 'dojo/topic',
| 'dojo/on'
| ],
| function(
| declare,
| lang,
| BaseWidget,
| html,
| domConstruct,
| topic,
| on) {
| var clazz = declare([BaseWidget], {
|
| name: 'SceneMode',
| baseClass: 'jimu-widget-SceneMode',
|
| postCreate: function() {
| this.inherited(arguments);
| },
|
| startup: function() {
| this.inherited(arguments);
| // new Cesium.SceneModePicker(this.domNode, this.map.scene);
|
| // $('.cesium-sceneModePicker-button3D').next().next().next().css({'right': 95, 'bottom': 75})
|
| // $('.cesium-sceneModePicker-button3D').attr('title','三维视图');
| }
|
| });
| return clazz;
| });
|
|