From 14e02654e0545ee69456d64aef2f35c7c219d708 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 07 May 2021 11:26:49 +0800
Subject: [PATCH] 地图模式设备状态修改

---
 public/map/controls/toolbar/tools/SwipeTool.js |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/public/map/controls/toolbar/tools/SwipeTool.js b/public/map/controls/toolbar/tools/SwipeTool.js
new file mode 100644
index 0000000..99ed517
--- /dev/null
+++ b/public/map/controls/toolbar/tools/SwipeTool.js
@@ -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;
+});
\ No newline at end of file

--
Gitblit v1.9.3