Skip to content

Commit

Permalink
add user-defined controls for layerControl widget
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgee committed Apr 19, 2016
1 parent b9b367a commit 357d924
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions viewer/js/gis/dijit/LayerControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ define([
});
return;
}
// add any user-defined controls - possibly for user-defined layers
this._controls = lang.mixin(this._controls, options.controls || {});
},
postCreate: function () {
this.inherited(arguments);
Expand Down

0 comments on commit 357d924

Please sign in to comment.