From d74b495736f0c04522ec54274b70fed0ded2878d Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 27 Jun 2023 11:30:06 +0800
Subject: [PATCH] 任务新增导出
---
public/map/controls/toolbar/tools/ZoomInTool.js | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/public/map/controls/toolbar/tools/ZoomInTool.js b/public/map/controls/toolbar/tools/ZoomInTool.js
new file mode 100644
index 0000000..7958a32
--- /dev/null
+++ b/public/map/controls/toolbar/tools/ZoomInTool.js
@@ -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;
+});
--
Gitblit v1.9.3