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
| /**
| * @author 刘玉麟 2015-11-27
| **/
| define([
| "dojo",
| "dojo/_base/declare",
| "base/AppEvent",
| "controls/toolbar/tools/BaseTool",
| "dojo/dom-style"
| ], function(
| dojo,
| declare,
| AppEvent,
| BaseTool,
| domStyle
| ) {
| var RL = declare([BaseTool], {
| constructor: function(args) {
| this._normalIconClass = "tool-Map3D-normal";
| this._disableClass = "";
| this.tooltip = "3D地图";
| },
| deactivate: function(args) {
|
| },
| activate: function() {
|
| },
| _onClick: function(evt) {
| window.open("https://gqpc.whkc.com.cn/arcgis/home/webscene/viewer.html");
| },
| postCreate: function() {
| this.inherited(arguments);
| /* domStyle.set(this.tool,"border-top-left-radius","5px");
| domStyle.set(this.tool,"border-bottom-left-radius","5px");*/
| }
| });
| return RL;
| });
|
|