Skip to content

Commit

Permalink
fix(core): remove bbox checkbox if not there
Browse files Browse the repository at this point in the history
  • Loading branch information
cynngah committed Jun 1, 2015
1 parent 04b4d30 commit 8b2591a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/RAMP/Modules/filterManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ define([
);

// add a bounding box settings to the non-static feature layers only
if (!layerRamp.config.isStatic) {
if (!layerRamp.config.isStatic && layerRamp.config.layerExtent) {
LayerItem.addStateMatrixParts(stateMatrix, LayerItem.partTypes.SETTINGS,
[
LayerItem.settings.BOUNDING_BOX
Expand Down

0 comments on commit 8b2591a

Please sign in to comment.