-
-
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.
Adding support for the WFS layer added to the ESRI API at v3.14.
This layer is still considered beta in version 3.15.
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
define([ | ||
'dojo/_base/declare', | ||
'dijit/_WidgetBase', | ||
'dijit/_TemplatedMixin', | ||
'dijit/_Contained', | ||
'./_Control', // layer control base class | ||
'./../plugins/legendUtil' | ||
], function ( | ||
declare, | ||
_WidgetBase, | ||
_TemplatedMixin, | ||
_Contained, | ||
_Control, | ||
legendUtil | ||
) { | ||
'use strict'; | ||
|
||
var WFSControl = declare([_WidgetBase, _TemplatedMixin, _Contained, _Control], { | ||
_layerType: 'vector', // constant | ||
_esriLayerType: 'wfs', // constant | ||
_layerTypeInit: function () { | ||
this._expandRemove(); | ||
} | ||
}); | ||
return WFSControl; | ||
}); |
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