Skip to content

Commit

Permalink
fix(widget): close debug pragma around baseLayer validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Masty88 committed Nov 8, 2024
1 parent 7e16e2d commit 2978c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/widgets/Source/Viewer/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ function Viewer(container, options) {
) {
throw new DeveloperError("Cannot use baseLayer when globe is disabled.");
}
//>>includeEnd('debug')

const createBaseLayerPicker =
(!defined(options.globe) || options.globe !== false) &&
Expand Down

0 comments on commit 2978c69

Please sign in to comment.