zhongrj
2023-06-27 d74b495736f0c04522ec54274b70fed0ded2878d
public/map/controls/toolbar/tools/SwipeTool.js
New file
@@ -0,0 +1,40 @@
/**
 * 卷帘控件按钮
 * @author liuyl 2015-10-26
 **/
define([
"base/AppEvent",
"dojo",
"dojo/_base/declare",
"dojo/_base/lang",
"controls/toolbar/tools/BaseTool",
"dojo/dom-style",
"base/ConfigData"
], function(
   AppEvent,
   dojo,
   declare,
   lang,
   BaseTool
) {
   var RL = declare([BaseTool], {
      constructor: function(args) {
         this._normalIconClass = "tool-swipe-normal";
         this._overIconClass = "tool-swipe-over";
         this._selectedIconClass = "tool-swipe-select";
         this.tooltip="卷帘对比";
      },
      activate: function(args) {
         this.inherited(arguments);
      },
      postCreate: function() {
         this.inherited(arguments);
      },
      deactivate: function() {
         this.inherited(arguments);
         //this.inherited(arguments);
      }
   });
   return RL;
});