From 4f11d6a54ade61ba7daf8ba856014d2f8994badf Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sun, 09 May 2021 08:34:19 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/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