赣州市洪水风险预警系统二维版本
xiebin
2023-03-02 b39483c96ae572121d3c619c0b9d37634e682cc4
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
/**
* @author 温杨彪 2015-9-12
**/
define([
  "dojo/_base/declare", 
  "controls/toolbar/tools/NavBaseTool",
  "esri/toolbars/navigation",
  "dojo/dom-style"
], function(
  declare, 
  NavBaseTool,
  Navigation,
  domStyle
) {
  var RL = declare([NavBaseTool], {
    constructor: function(args) {
        this._normalIconClass="tool-zoomIn-normal";
        this._overIconClass="tool-zoomIn-over";
        this._selectedIconClass="tool-zoomIn-select";
        this._disableClass="";
        this._navType=Navigation.ZOOM_IN;
        this.tooltip="拉框放大";
    },
    postCreate:function()
    {
        this.inherited(arguments);
        this._isDrawOnece=false;
    },
  });
  return RL;
});