zhongrj
2023-06-27 d74b495736f0c04522ec54274b70fed0ded2878d
public/map/controls/toolbar/tools/ZoomInTool.js
New file
@@ -0,0 +1,32 @@
/**
* @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;
});