-
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #485 from cmv/feature/add-vector-tile-layer
add vector tile layer
- Loading branch information
Showing
5 changed files
with
190 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
define([ | ||
'dojo/_base/declare', | ||
'dijit/_WidgetBase', | ||
'dijit/_TemplatedMixin', | ||
'dijit/_Contained', | ||
'./_Control' // layer control base class | ||
], function ( | ||
declare, | ||
_WidgetBase, | ||
_TemplatedMixin, | ||
_Contained, | ||
_Control | ||
) { | ||
'use strict'; | ||
|
||
var VectorTileControl = declare([_WidgetBase, _TemplatedMixin, _Contained, _Control], { | ||
_layerType: 'overlay', // constant | ||
_esriLayerType: 'vectortile', // constant | ||
_layerTypeInit: function () { | ||
this._expandRemove(); | ||
} | ||
}); | ||
return VectorTileControl; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters