| New file |
| | |
| | | /** |
| | | * @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; |
| | | }); |