@splunk/visualizations 25.0.1 → 25.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
  2. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  3. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  4. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  5. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  6. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  7. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  25. package/Area.config.js +141 -152
  26. package/Area.config.js.map +1 -1
  27. package/Area.js +334 -431
  28. package/Area.js.map +1 -1
  29. package/Bar.config.js +143 -148
  30. package/Bar.config.js.map +1 -1
  31. package/Bar.js +336 -427
  32. package/Bar.js.map +1 -1
  33. package/Bubble.config.js +130 -117
  34. package/Bubble.config.js.map +1 -1
  35. package/Bubble.js +325 -398
  36. package/Bubble.js.map +1 -1
  37. package/ChoroplethSvg.config.js +86 -80
  38. package/ChoroplethSvg.config.js.map +1 -1
  39. package/ChoroplethSvg.js +305 -385
  40. package/ChoroplethSvg.js.map +1 -1
  41. package/Column.config.js +139 -146
  42. package/Column.config.js.map +1 -1
  43. package/Column.js +332 -425
  44. package/Column.js.map +1 -1
  45. package/Ellipse.config.js +86 -80
  46. package/Ellipse.config.js.map +1 -1
  47. package/Ellipse.js +288 -368
  48. package/Ellipse.js.map +1 -1
  49. package/FillerGauge.config.js +91 -85
  50. package/FillerGauge.config.js.map +1 -1
  51. package/FillerGauge.js +296 -376
  52. package/FillerGauge.js.map +1 -1
  53. package/Image.config.js +74 -74
  54. package/Image.config.js.map +1 -1
  55. package/Image.js +710 -798
  56. package/Image.js.map +1 -1
  57. package/Line.config.js +139 -137
  58. package/Line.config.js.map +1 -1
  59. package/Line.js +332 -416
  60. package/Line.js.map +1 -1
  61. package/LinkGraph.config.js +112 -112
  62. package/LinkGraph.config.js.map +1 -1
  63. package/LinkGraph.js +320 -405
  64. package/LinkGraph.js.map +1 -1
  65. package/Map.config.js +101 -95
  66. package/Map.config.js.map +1 -1
  67. package/Map.js +472 -518
  68. package/Map.js.map +1 -1
  69. package/Markdown.config.js +113 -113
  70. package/Markdown.config.js.map +1 -1
  71. package/Markdown.js +500 -574
  72. package/Markdown.js.map +1 -1
  73. package/MarkerGauge.config.js +192 -193
  74. package/MarkerGauge.config.js.map +1 -1
  75. package/MarkerGauge.js +1200 -1289
  76. package/MarkerGauge.js.map +1 -1
  77. package/ParallelCoordinates.config.js +138 -138
  78. package/ParallelCoordinates.config.js.map +1 -1
  79. package/ParallelCoordinates.js +292 -376
  80. package/ParallelCoordinates.js.map +1 -1
  81. package/Pie.config.js +133 -133
  82. package/Pie.config.js.map +1 -1
  83. package/Pie.js +496 -584
  84. package/Pie.js.map +1 -1
  85. package/Punchcard.config.js +139 -139
  86. package/Punchcard.config.js.map +1 -1
  87. package/Punchcard.js +315 -399
  88. package/Punchcard.js.map +1 -1
  89. package/Rectangle.config.js +267 -260
  90. package/Rectangle.config.js.map +1 -1
  91. package/Rectangle.js +499 -580
  92. package/Rectangle.js.map +1 -1
  93. package/Sankey.config.js +150 -143
  94. package/Sankey.config.js.map +1 -1
  95. package/Sankey.js +316 -390
  96. package/Sankey.js.map +1 -1
  97. package/Scatter.config.js +130 -117
  98. package/Scatter.config.js.map +1 -1
  99. package/Scatter.js +547 -623
  100. package/Scatter.js.map +1 -1
  101. package/SingleValue.config.js +119 -113
  102. package/SingleValue.config.js.map +1 -1
  103. package/SingleValue.js +523 -604
  104. package/SingleValue.js.map +1 -1
  105. package/SingleValueBasic.js +19 -19
  106. package/SingleValueBasic.js.map +1 -1
  107. package/SingleValueIcon.config.js +128 -120
  108. package/SingleValueIcon.config.js.map +1 -1
  109. package/SingleValueIcon.js +343 -420
  110. package/SingleValueIcon.js.map +1 -1
  111. package/SingleValueRadial.config.js +215 -178
  112. package/SingleValueRadial.config.js.map +1 -1
  113. package/SingleValueRadial.js +668 -749
  114. package/SingleValueRadial.js.map +1 -1
  115. package/Table.config.js +150 -151
  116. package/Table.config.js.map +1 -1
  117. package/Table.js +772 -854
  118. package/Table.js.map +1 -1
  119. package/common/Charting.js +11 -11
  120. package/common/Charting.js.map +1 -1
  121. package/common/ChartingApi.js +2 -2
  122. package/common/ChartingApi.js.map +1 -1
  123. package/common/EventsDoc.js +12 -12
  124. package/common/EventsDoc.js.map +1 -1
  125. package/common/GaugeMajorTicks.js +8 -8
  126. package/common/GaugeMajorTicks.js.map +1 -1
  127. package/common/GaugeValueMarker.js +8 -8
  128. package/common/GaugeValueMarker.js.map +1 -1
  129. package/common/OptionsDoc.js +51 -352
  130. package/common/OptionsDoc.js.map +1 -1
  131. package/common/OverviewDoc.js +22 -22
  132. package/common/OverviewDoc.js.map +1 -1
  133. package/common/SplunkVisualization.js +4 -4
  134. package/common/SplunkVisualization.js.map +1 -1
  135. package/common/SplunkVisualizationApi.js +2 -2
  136. package/common/SplunkVisualizationApi.js.map +1 -1
  137. package/common/ThemesDoc.js +19 -19
  138. package/common/ThemesDoc.js.map +1 -1
  139. package/common/chartingUtils.js +4 -4
  140. package/common/chartingUtils.js.map +1 -1
  141. package/common/docUtils.js +4 -4
  142. package/common/docUtils.js.map +1 -1
  143. package/common/gaugeUtils.js +13 -13
  144. package/common/gaugeUtils.js.map +1 -1
  145. package/common/shapeUtils.js +8 -8
  146. package/common/shapeUtils.js.map +1 -1
  147. package/common/utils/configUtils.js +17 -18
  148. package/common/utils/configUtils.js.map +1 -1
  149. package/common/utils/hocUtils.js +6 -86
  150. package/common/utils/hocUtils.js.map +1 -1
  151. package/common/utils/{JSONSchemaUtils.js → mapUtils.js} +89 -29
  152. package/common/utils/mapUtils.js.map +1 -0
  153. package/common/utils/singleValueUtils.js +14 -12
  154. package/common/utils/singleValueUtils.js.map +1 -1
  155. package/common/utils/testHelper.js +8 -8
  156. package/common/utils/testHelper.js.map +1 -1
  157. package/common/withDashboardViz.js +120 -207
  158. package/common/withDashboardViz.js.map +1 -1
  159. package/package.json +12 -12
  160. package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
  161. package/common/utils/JSONSchemaUtils.js.map +0 -1
package/Map.config.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 50);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 51);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -98,14 +98,63 @@ module.exports = require("@splunk/ui-utils/i18n");
98
98
 
99
99
  /***/ }),
100
100
  /* 1 */
101
+ /***/ (function(module, exports) {
102
+
103
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
104
+
105
+ /***/ }),
106
+ /* 2 */
107
+ /***/ (function(module, exports, __webpack_require__) {
108
+
109
+ "use strict";
110
+
111
+
112
+ Object.defineProperty(exports, "__esModule", {
113
+ value: true
114
+ });
115
+ exports.VizBehavior = void 0;
116
+ var VizBehavior;
117
+
118
+ (function (VizBehavior) {
119
+ /**
120
+ * Dynamic Options Behavior.
121
+ * This allows visualization options to be powered by data
122
+ *
123
+ * **Example**
124
+ *
125
+ * sparklineValues: ">primary|seriesByIndex(0)"
126
+ * would configure sparklineValues with an array of data points
127
+ * coming from the first series in the primary datasource
128
+ *
129
+ */
130
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
131
+ VizBehavior["EVENTS"] = "events";
132
+ /**
133
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
134
+ * missing.
135
+ * @type {string}
136
+ */
137
+
138
+ VizBehavior["PLACEHOLDER"] = "placeholder";
139
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
140
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
141
+
142
+ /***/ }),
143
+ /* 3 */
144
+ /***/ (function(module, exports) {
145
+
146
+ module.exports = require("@splunk/visualizations-shared/schemaUtils");
147
+
148
+ /***/ }),
149
+ /* 4 */
101
150
  /***/ (function(module, exports, __webpack_require__) {
102
151
 
103
152
  "use strict";
104
153
 
105
154
 
106
- var _toConsumableArray = __webpack_require__(2);
155
+ var _toConsumableArray = __webpack_require__(1);
107
156
 
108
- var _defineProperty = __webpack_require__(6);
157
+ var _defineProperty = __webpack_require__(7);
109
158
 
110
159
  var __rest = this && this.__rest || function (s, e) {
111
160
  var t = {};
@@ -123,13 +172,13 @@ var __rest = this && this.__rest || function (s, e) {
123
172
  Object.defineProperty(exports, "__esModule", {
124
173
  value: true
125
174
  });
126
- exports.insertLayout = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
175
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
127
176
 
128
- var lodash_1 = __webpack_require__(5);
177
+ var lodash_1 = __webpack_require__(6);
129
178
 
130
- var schemaUtils_1 = __webpack_require__(4);
179
+ var schemaUtils_1 = __webpack_require__(3);
131
180
 
132
- var VizBehavior_1 = __webpack_require__(3);
181
+ var VizBehavior_1 = __webpack_require__(2);
133
182
 
134
183
  var dynamicOptionsDSLType = {
135
184
  type: 'string',
@@ -333,68 +382,20 @@ var insertLayout = function insertLayout(layout, index) {
333
382
  exports.insertLayout = insertLayout;
334
383
 
335
384
  /***/ }),
336
- /* 2 */
337
- /***/ (function(module, exports) {
338
-
339
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
340
-
341
- /***/ }),
342
- /* 3 */
343
- /***/ (function(module, exports, __webpack_require__) {
344
-
345
- "use strict";
346
-
347
-
348
- Object.defineProperty(exports, "__esModule", {
349
- value: true
350
- });
351
- exports.VizBehavior = void 0;
352
- var VizBehavior;
353
-
354
- (function (VizBehavior) {
355
- /**
356
- * Dynamic Options Behavior.
357
- * This allows visualization options to be powered by data
358
- *
359
- * **Example**
360
- *
361
- * sparklineValues: ">primary|seriesByIndex(0)"
362
- * would configure sparklineValues with an array of data points
363
- * coming from the first series in the primary datasource
364
- *
365
- */
366
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
367
- VizBehavior["EVENTS"] = "events";
368
- /**
369
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
370
- * missing.
371
- * @type {string}
372
- */
373
-
374
- VizBehavior["PLACEHOLDER"] = "placeholder";
375
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
376
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
377
-
378
- /***/ }),
379
- /* 4 */
380
- /***/ (function(module, exports) {
381
-
382
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
383
-
384
- /***/ }),
385
- /* 5 */
385
+ /* 5 */,
386
+ /* 6 */
386
387
  /***/ (function(module, exports) {
387
388
 
388
389
  module.exports = require("lodash");
389
390
 
390
391
  /***/ }),
391
- /* 6 */
392
+ /* 7 */
392
393
  /***/ (function(module, exports) {
393
394
 
394
395
  module.exports = require("@babel/runtime/helpers/defineProperty");
395
396
 
396
397
  /***/ }),
397
- /* 7 */
398
+ /* 8 */
398
399
  /***/ (function(module, exports, __webpack_require__) {
399
400
 
400
401
  "use strict";
@@ -422,27 +423,26 @@ var VizCategory;
422
423
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
423
424
 
424
425
  /***/ }),
425
- /* 8 */,
426
426
  /* 9 */,
427
- /* 10 */
427
+ /* 10 */,
428
+ /* 11 */
428
429
  /***/ (function(module, exports) {
429
430
 
430
431
  module.exports = require("@splunk/visualization-icons/placeholders");
431
432
 
432
433
  /***/ }),
433
- /* 11 */
434
+ /* 12 */
434
435
  /***/ (function(module, exports) {
435
436
 
436
437
  module.exports = require("@splunk/visualization-icons");
437
438
 
438
439
  /***/ }),
439
- /* 12 */
440
+ /* 13 */
440
441
  /***/ (function(module, exports) {
441
442
 
442
443
  module.exports = require("@splunk/visualization-color-palettes");
443
444
 
444
445
  /***/ }),
445
- /* 13 */,
446
446
  /* 14 */,
447
447
  /* 15 */,
448
448
  /* 16 */,
@@ -452,13 +452,13 @@ module.exports = require("@splunk/visualization-color-palettes");
452
452
  /* 20 */,
453
453
  /* 21 */,
454
454
  /* 22 */,
455
- /* 23 */
455
+ /* 23 */,
456
+ /* 24 */
456
457
  /***/ (function(module, exports) {
457
458
 
458
459
  module.exports = require("@splunk/themes");
459
460
 
460
461
  /***/ }),
461
- /* 24 */,
462
462
  /* 25 */,
463
463
  /* 26 */,
464
464
  /* 27 */,
@@ -484,7 +484,8 @@ module.exports = require("@splunk/themes");
484
484
  /* 47 */,
485
485
  /* 48 */,
486
486
  /* 49 */,
487
- /* 50 */
487
+ /* 50 */,
488
+ /* 51 */
488
489
  /***/ (function(module, exports, __webpack_require__) {
489
490
 
490
491
  "use strict";
@@ -494,25 +495,25 @@ Object.defineProperty(exports, "__esModule", {
494
495
  value: true
495
496
  });
496
497
 
497
- var visualization_icons_1 = __webpack_require__(11);
498
+ var visualization_icons_1 = __webpack_require__(12);
498
499
 
499
- var placeholders_1 = __webpack_require__(10);
500
+ var placeholders_1 = __webpack_require__(11);
500
501
 
501
- var schemaUtils_1 = __webpack_require__(4);
502
+ var schemaUtils_1 = __webpack_require__(3);
502
503
 
503
- var visualization_color_palettes_1 = __webpack_require__(12);
504
+ var visualization_color_palettes_1 = __webpack_require__(13);
504
505
 
505
- var themes_1 = __webpack_require__(23);
506
+ var themes_1 = __webpack_require__(24);
506
507
 
507
508
  var i18n_1 = __webpack_require__(0);
508
509
 
509
- var VizBehavior_1 = __webpack_require__(3);
510
+ var VizBehavior_1 = __webpack_require__(2);
510
511
 
511
- var VizCategory_1 = __webpack_require__(7);
512
+ var VizCategory_1 = __webpack_require__(8);
512
513
 
513
- var configUtils_1 = __webpack_require__(1);
514
+ var configUtils_1 = __webpack_require__(4);
514
515
 
515
- var MapUtils_1 = __webpack_require__(51);
516
+ var MapUtils_1 = __webpack_require__(52);
516
517
 
517
518
  var defaultContext = {
518
519
  colorRangeConfig: [{
@@ -950,34 +951,34 @@ var config = {
950
951
  exports.default = configUtils_1.enhanceConfig(config);
951
952
 
952
953
  /***/ }),
953
- /* 51 */
954
+ /* 52 */
954
955
  /***/ (function(module, exports, __webpack_require__) {
955
956
 
956
957
  "use strict";
957
958
 
958
959
 
959
- var _defineProperty = __webpack_require__(6);
960
+ var _defineProperty = __webpack_require__(7);
960
961
 
961
- var _slicedToArray = __webpack_require__(52);
962
+ var _slicedToArray = __webpack_require__(53);
962
963
 
963
- var _toConsumableArray = __webpack_require__(2);
964
+ var _toConsumableArray = __webpack_require__(1);
964
965
 
965
966
  Object.defineProperty(exports, "__esModule", {
966
967
  value: true
967
968
  });
968
969
  exports.formatMetadata = exports.compareBaseStyles = exports.getScaledOpacities = exports.getGlobalLayerBoundaries = exports.isValidLatLon = exports.bakeBubbleData = exports.sanitizeValues = exports.transposeArray = exports.matchBubbleSize = exports.getStaticColors = exports.getZoomLevelFromGeobin = exports.getZoomConstraintsFromTileConfig = exports.getMapStyle = exports.getTilePreset = exports.LAYER_TYPE = exports.DEFAULT_OPACITY = exports.MAX_BUBBLE_RADIUS = exports.MIN_BUBBLE_RADIUS = exports.MAP_STYLE_VERSION_NUMBER = exports.DEFAULT_SERIES_COLORS = exports.DEFAULT_CLUSTER_COLOR = exports.DEFAULT_RESULT_LIMIT = exports.MIN_LONGITUDE = exports.MAX_LONGITUDE = exports.MIN_LATITUDE = exports.MAX_LATITUDE = void 0;
969
970
 
970
- var lodash_1 = __webpack_require__(5);
971
+ var lodash_1 = __webpack_require__(6);
971
972
 
972
- var d3_scale_1 = __webpack_require__(53);
973
+ var d3_scale_1 = __webpack_require__(54);
973
974
 
974
- var chroma = __webpack_require__(54);
975
+ var chroma = __webpack_require__(55);
975
976
 
976
- var colorUtils_1 = __webpack_require__(55);
977
+ var colorUtils_1 = __webpack_require__(56);
977
978
 
978
- var visualization_color_palettes_1 = __webpack_require__(12);
979
+ var visualization_color_palettes_1 = __webpack_require__(13);
979
980
 
980
- var types_1 = __webpack_require__(56);
981
+ var types_1 = __webpack_require__(57);
981
982
 
982
983
  exports.MAX_LATITUDE = 90;
983
984
  exports.MIN_LATITUDE = -90;
@@ -1136,9 +1137,10 @@ var getMapStyle = function getMapStyle(_ref2) {
1136
1137
 
1137
1138
  exports.getMapStyle = getMapStyle;
1138
1139
 
1139
- var getZoomConstraintsFromTileConfig = function getZoomConstraintsFromTileConfig(tileConfig) {
1140
+ var getZoomConstraintsFromTileConfig = function getZoomConstraintsFromTileConfig(tileConfig, baseLayerTileServer) {
1140
1141
  var sources = tileConfig.sources,
1141
- layers = tileConfig.layers; // check sources for minzoom maxzoom first
1142
+ layers = tileConfig.layers;
1143
+ var matchedBaseLayerTileServer = false; // check sources for minzoom maxzoom first
1142
1144
 
1143
1145
  var sourceKeys = Object.keys(sources);
1144
1146
 
@@ -1147,7 +1149,11 @@ var getZoomConstraintsFromTileConfig = function getZoomConstraintsFromTileConfig
1147
1149
  minzoom = _sources$sourceKeys$i.minzoom,
1148
1150
  maxzoom = _sources$sourceKeys$i.maxzoom;
1149
1151
 
1150
- if (lodash_1.isNumber(minzoom) && lodash_1.isNumber(maxzoom)) {
1152
+ if (baseLayerTileServer && sources[sourceKeys[i]].tiles.indexOf(baseLayerTileServer) !== -1) {
1153
+ matchedBaseLayerTileServer = true;
1154
+ }
1155
+
1156
+ if ((baseLayerTileServer && matchedBaseLayerTileServer || !baseLayerTileServer) && lodash_1.isNumber(minzoom) && lodash_1.isNumber(maxzoom)) {
1151
1157
  return {
1152
1158
  minZoom: minzoom,
1153
1159
  maxZoom: maxzoom
@@ -1161,7 +1167,7 @@ var getZoomConstraintsFromTileConfig = function getZoomConstraintsFromTileConfig
1161
1167
  _minzoom = _layers$_i.minzoom,
1162
1168
  _maxzoom = _layers$_i.maxzoom;
1163
1169
 
1164
- if (lodash_1.isNumber(_minzoom) && lodash_1.isNumber(_maxzoom)) {
1170
+ if ((baseLayerTileServer && matchedBaseLayerTileServer || !baseLayerTileServer) && lodash_1.isNumber(_minzoom) && lodash_1.isNumber(_maxzoom)) {
1165
1171
  return {
1166
1172
  minZoom: _minzoom,
1167
1173
  maxZoom: _maxzoom
@@ -1492,31 +1498,31 @@ var formatMetadata = function formatMetadata(choroplethLayer, i) {
1492
1498
  exports.formatMetadata = formatMetadata;
1493
1499
 
1494
1500
  /***/ }),
1495
- /* 52 */
1501
+ /* 53 */
1496
1502
  /***/ (function(module, exports) {
1497
1503
 
1498
1504
  module.exports = require("@babel/runtime/helpers/slicedToArray");
1499
1505
 
1500
1506
  /***/ }),
1501
- /* 53 */
1507
+ /* 54 */
1502
1508
  /***/ (function(module, exports) {
1503
1509
 
1504
1510
  module.exports = require("d3-scale");
1505
1511
 
1506
1512
  /***/ }),
1507
- /* 54 */
1513
+ /* 55 */
1508
1514
  /***/ (function(module, exports) {
1509
1515
 
1510
1516
  module.exports = require("chroma-js");
1511
1517
 
1512
1518
  /***/ }),
1513
- /* 55 */
1519
+ /* 56 */
1514
1520
  /***/ (function(module, exports) {
1515
1521
 
1516
1522
  module.exports = require("@splunk/visualizations-shared/colorUtils");
1517
1523
 
1518
1524
  /***/ }),
1519
- /* 56 */
1525
+ /* 57 */
1520
1526
  /***/ (function(module, exports) {
1521
1527
 
1522
1528
  module.exports = require("@splunk/visualization-encoding/utils/types");