From b9bc80def4e77e1bd2b224747a4dbf0b486e4c1d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 02 Apr 2021 16:49:12 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jfpt-Vue
---
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