@carto/kepler.gl 0.0.16 → 0.0.19

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 (825) hide show
  1. package/actions.js +1 -1
  2. package/cloud-providers.js +1 -1
  3. package/components.js +1 -1
  4. package/constants.js +1 -1
  5. package/dist/actions/action-wrapper.js +2 -2
  6. package/dist/actions/actions.js +2 -2
  7. package/dist/actions/identity-actions.js +2 -2
  8. package/dist/actions/index.js +1 -1
  9. package/dist/actions/map-state-actions.js +2 -2
  10. package/dist/actions/map-style-actions.js +2 -2
  11. package/dist/actions/provider-actions.js +2 -2
  12. package/dist/actions/ui-state-actions.js +2 -2
  13. package/dist/actions/vis-state-actions.js +2 -2
  14. package/dist/cloud-providers/index.js +1 -1
  15. package/dist/cloud-providers/provider.js +2 -2
  16. package/dist/components/bottom-widget.js +1 -1
  17. package/dist/components/common/action-panel.js +1 -1
  18. package/dist/components/common/animation-control/animation-control.js +1 -1
  19. package/dist/components/common/animation-control/animation-controller.js +1 -1
  20. package/dist/components/common/animation-control/animation-speed-slider.js +1 -1
  21. package/dist/components/common/animation-control/floating-time-display.js +1 -1
  22. package/dist/components/common/animation-control/playback-controls.js +1 -1
  23. package/dist/components/common/animation-control/speed-control.js +1 -1
  24. package/dist/components/common/checkbox.js +2 -2
  25. package/dist/components/common/color-legend.js +1 -1
  26. package/dist/components/common/data-table/button.js +1 -1
  27. package/dist/components/common/data-table/canvas.js +1 -1
  28. package/dist/components/common/data-table/cell-size.js +1 -1
  29. package/dist/components/common/data-table/grid.js +1 -1
  30. package/dist/components/common/data-table/index.js +1 -1
  31. package/dist/components/common/data-table/option-dropdown.js +1 -1
  32. package/dist/components/common/dataset-label.js +1 -1
  33. package/dist/components/common/error-boundary.js +1 -1
  34. package/dist/components/common/field-selector.js +1 -1
  35. package/dist/components/common/field-token.js +1 -1
  36. package/dist/components/common/file-uploader/file-drop.js +1 -1
  37. package/dist/components/common/file-uploader/file-upload-progress.js +1 -1
  38. package/dist/components/common/file-uploader/file-upload.js +1 -1
  39. package/dist/components/common/file-uploader/upload-button.js +1 -1
  40. package/dist/components/common/histogram-plot.js +1 -1
  41. package/dist/components/common/icons/add.js +1 -1
  42. package/dist/components/common/icons/anchor_window.js +2 -2
  43. package/dist/components/common/icons/arrow-down-alt.js +1 -1
  44. package/dist/components/common/icons/arrow-down-solid .js +1 -1
  45. package/dist/components/common/icons/arrow-down.js +1 -1
  46. package/dist/components/common/icons/arrow-left.js +1 -1
  47. package/dist/components/common/icons/arrow-right.js +1 -1
  48. package/dist/components/common/icons/arrow-up-alt.js +1 -1
  49. package/dist/components/common/icons/arrow-up-solid.js +1 -1
  50. package/dist/components/common/icons/arrow-up.js +1 -1
  51. package/dist/components/common/icons/base.js +1 -1
  52. package/dist/components/common/icons/bug.js +1 -1
  53. package/dist/components/common/icons/cancel.js +1 -1
  54. package/dist/components/common/icons/checkmark.js +1 -1
  55. package/dist/components/common/icons/clipboard.js +1 -1
  56. package/dist/components/common/icons/clock.js +1 -1
  57. package/dist/components/common/icons/close.js +1 -1
  58. package/dist/components/common/icons/code-alt.js +1 -1
  59. package/dist/components/common/icons/copy.js +1 -1
  60. package/dist/components/common/icons/crosshairs.js +1 -1
  61. package/dist/components/common/icons/cube-3d.js +1 -1
  62. package/dist/components/common/icons/cursor-click.js +1 -1
  63. package/dist/components/common/icons/data-table.js +1 -1
  64. package/dist/components/common/icons/db.js +1 -1
  65. package/dist/components/common/icons/delete.js +1 -1
  66. package/dist/components/common/icons/docs.js +1 -1
  67. package/dist/components/common/icons/drag-n-drop.js +1 -1
  68. package/dist/components/common/icons/draw-polygon.js +1 -1
  69. package/dist/components/common/icons/email.js +1 -1
  70. package/dist/components/common/icons/expand.js +1 -1
  71. package/dist/components/common/icons/eye-seen.js +1 -1
  72. package/dist/components/common/icons/eye-unseen.js +1 -1
  73. package/dist/components/common/icons/file-type.js +1 -1
  74. package/dist/components/common/icons/file.js +1 -1
  75. package/dist/components/common/icons/files.js +1 -1
  76. package/dist/components/common/icons/filter-funnel.js +1 -1
  77. package/dist/components/common/icons/free-window.js +2 -2
  78. package/dist/components/common/icons/gear.js +1 -1
  79. package/dist/components/common/icons/hash.js +1 -1
  80. package/dist/components/common/icons/histogram.js +1 -1
  81. package/dist/components/common/icons/index.js +1 -1
  82. package/dist/components/common/icons/info.js +1 -1
  83. package/dist/components/common/icons/layers.js +1 -1
  84. package/dist/components/common/icons/left-arrow.js +1 -1
  85. package/dist/components/common/icons/legend.js +1 -1
  86. package/dist/components/common/icons/line-chart.js +1 -1
  87. package/dist/components/common/icons/login.js +1 -1
  88. package/dist/components/common/icons/logout.js +1 -1
  89. package/dist/components/common/icons/map-icon.js +1 -1
  90. package/dist/components/common/icons/map.js +1 -1
  91. package/dist/components/common/icons/messages.js +1 -1
  92. package/dist/components/common/icons/minus.js +1 -1
  93. package/dist/components/common/icons/pause.js +1 -1
  94. package/dist/components/common/icons/picture.js +1 -1
  95. package/dist/components/common/icons/pin.js +1 -1
  96. package/dist/components/common/icons/play.js +1 -1
  97. package/dist/components/common/icons/polygon.js +1 -1
  98. package/dist/components/common/icons/rectangle.js +1 -1
  99. package/dist/components/common/icons/reduce.js +1 -1
  100. package/dist/components/common/icons/reset.js +1 -1
  101. package/dist/components/common/icons/rocket.js +1 -1
  102. package/dist/components/common/icons/save.js +1 -1
  103. package/dist/components/common/icons/save2.js +1 -1
  104. package/dist/components/common/icons/search.js +1 -1
  105. package/dist/components/common/icons/settings.js +1 -1
  106. package/dist/components/common/icons/share.js +1 -1
  107. package/dist/components/common/icons/split.js +1 -1
  108. package/dist/components/common/icons/square-select.js +1 -1
  109. package/dist/components/common/icons/swap-horizontal.js +1 -1
  110. package/dist/components/common/icons/table.js +1 -1
  111. package/dist/components/common/icons/trash.js +1 -1
  112. package/dist/components/common/icons/upload.js +1 -1
  113. package/dist/components/common/icons/vert-dots.js +1 -1
  114. package/dist/components/common/icons/vert-three-dots.js +1 -1
  115. package/dist/components/common/icons/warning.js +1 -1
  116. package/dist/components/common/image-preview.js +1 -1
  117. package/dist/components/common/info-helper.js +4 -3
  118. package/dist/components/common/item-selector/accessor.js +2 -2
  119. package/dist/components/common/item-selector/chickleted-input.js +1 -1
  120. package/dist/components/common/item-selector/dropdown-list.js +1 -1
  121. package/dist/components/common/item-selector/item-selector.js +1 -1
  122. package/dist/components/common/item-selector/typeahead.js +1 -1
  123. package/dist/components/common/line-chart.js +1 -1
  124. package/dist/components/common/loading-spinner.js +1 -1
  125. package/dist/components/common/logo.js +1 -1
  126. package/dist/components/common/map-layer-selector.js +1 -1
  127. package/dist/components/common/modal.js +1 -1
  128. package/dist/components/common/portaled.js +1 -1
  129. package/dist/components/common/progress-bar.js +1 -1
  130. package/dist/components/common/range-brush.js +1 -1
  131. package/dist/components/common/range-plot.js +1 -1
  132. package/dist/components/common/range-slider.js +1 -1
  133. package/dist/components/common/slider/mouse-event.js +2 -2
  134. package/dist/components/common/slider/slider-bar-handle.js +1 -1
  135. package/dist/components/common/slider/slider-handle.js +1 -1
  136. package/dist/components/common/slider/slider.js +1 -1
  137. package/dist/components/common/styled-components.js +1 -1
  138. package/dist/components/common/switch.js +1 -1
  139. package/dist/components/common/time-range-slider-time-title.js +1 -1
  140. package/dist/components/common/time-range-slider.js +1 -1
  141. package/dist/components/common/time-slider-marker.js +1 -1
  142. package/dist/components/common/toolbar-item.js +1 -1
  143. package/dist/components/common/toolbar.js +1 -1
  144. package/dist/components/common/vertical-toolbar.js +1 -1
  145. package/dist/components/container.js +1 -1
  146. package/dist/components/context.js +2 -2
  147. package/dist/components/editor/constants.js +2 -2
  148. package/dist/components/editor/editor.js +1 -1
  149. package/dist/components/editor/feature-action-panel.js +1 -1
  150. package/dist/components/editor/feature-styles.js +1 -1
  151. package/dist/components/editor/handle-style.js +1 -1
  152. package/dist/components/filters/components.js +1 -1
  153. package/dist/components/filters/filter-panels/filter-panel-with-field-select.js +2 -2
  154. package/dist/components/filters/filter-panels/multi-select-filter-panel.js +2 -2
  155. package/dist/components/filters/filter-panels/new-filter-panel.js +2 -2
  156. package/dist/components/filters/filter-panels/polygon-filter-panel.js +2 -2
  157. package/dist/components/filters/filter-panels/range-filter-panel.js +2 -2
  158. package/dist/components/filters/filter-panels/single-select-filter-panel.js +2 -2
  159. package/dist/components/filters/filter-panels/time-range-filter-panel.js +2 -2
  160. package/dist/components/filters/index.js +1 -1
  161. package/dist/components/filters/multi-select-filter.js +2 -2
  162. package/dist/components/filters/polygon-filter.js +2 -2
  163. package/dist/components/filters/range-filter.js +2 -2
  164. package/dist/components/filters/single-select-filter.js +2 -2
  165. package/dist/components/filters/time-range-filter.js +2 -2
  166. package/dist/components/filters/time-widget.js +1 -1
  167. package/dist/components/geocoder/geocoder.js +1 -1
  168. package/dist/components/geocoder-panel.js +1 -1
  169. package/dist/components/index.js +2 -2
  170. package/dist/components/injector.js +1 -1
  171. package/dist/components/kepler-gl.js +9 -5
  172. package/dist/components/map/coordinate-info.js +2 -2
  173. package/dist/components/map/layer-hover-info.js +1 -1
  174. package/dist/components/map/layer-selector-panel.js +2 -2
  175. package/dist/components/map/locale-panel.js +2 -2
  176. package/dist/components/map/map-control-panel.js +1 -1
  177. package/dist/components/map/map-control-toolbar.js +1 -1
  178. package/dist/components/map/map-control-tooltip.js +2 -2
  179. package/dist/components/map/map-control.js +1 -1
  180. package/dist/components/map/map-draw-panel.js +2 -2
  181. package/dist/components/map/map-legend-panel.js +2 -2
  182. package/dist/components/map/map-legend.js +1 -1
  183. package/dist/components/map/map-popover.js +1 -1
  184. package/dist/components/map/split-map-button.js +2 -2
  185. package/dist/components/map/toggle-3d-button.js +2 -2
  186. package/dist/components/map-container.js +27 -4
  187. package/dist/components/maps-layout.js +1 -1
  188. package/dist/components/modal-container.js +1 -1
  189. package/dist/components/modals/add-map-style-modal.js +1 -1
  190. package/dist/components/modals/cloud-tile.js +1 -1
  191. package/dist/components/modals/data-table-modal.js +1 -1
  192. package/dist/components/modals/delete-data-modal.js +1 -1
  193. package/dist/components/modals/error-display.js +2 -2
  194. package/dist/components/modals/export-data-modal.js +1 -1
  195. package/dist/components/modals/export-image-modal.js +1 -1
  196. package/dist/components/modals/export-map-modal/components.js +1 -1
  197. package/dist/components/modals/export-map-modal/export-html-map.js +1 -1
  198. package/dist/components/modals/export-map-modal/export-json-map.js +1 -1
  199. package/dist/components/modals/export-map-modal/export-map-modal.js +2 -2
  200. package/dist/components/modals/image-modal-container.js +2 -2
  201. package/dist/components/modals/load-data-modal.js +1 -1
  202. package/dist/components/modals/load-storage-map.js +1 -1
  203. package/dist/components/modals/loading-dialog.js +1 -1
  204. package/dist/components/modals/modal-dialog.js +2 -2
  205. package/dist/components/modals/modal-tabs.js +1 -1
  206. package/dist/components/modals/overwrite-map-modal.js +1 -1
  207. package/dist/components/modals/provider-modal-container.js +1 -1
  208. package/dist/components/modals/save-map-modal.js +1 -1
  209. package/dist/components/modals/share-map-modal.js +1 -1
  210. package/dist/components/modals/status-panel.js +1 -1
  211. package/dist/components/modals/storage-map-viewer.js +1 -1
  212. package/dist/components/notification-panel/notification-item.js +1 -1
  213. package/dist/components/notification-panel.js +1 -1
  214. package/dist/components/plot-container.js +5 -3
  215. package/dist/components/side-panel/cloud-storage-dropdown.js +2 -2
  216. package/dist/components/side-panel/common/dataset-info.js +1 -1
  217. package/dist/components/side-panel/common/dataset-tag.js +1 -1
  218. package/dist/components/side-panel/common/dataset-title.js +1 -1
  219. package/dist/components/side-panel/common/source-data-catalog.js +1 -1
  220. package/dist/components/side-panel/common/source-data-selector.js +1 -1
  221. package/dist/components/side-panel/custom-panel.js +2 -2
  222. package/dist/components/side-panel/filter-manager.js +2 -2
  223. package/dist/components/side-panel/filter-panel/filter-panel-header.js +1 -1
  224. package/dist/components/side-panel/filter-panel/filter-panel.js +1 -1
  225. package/dist/components/side-panel/interaction-manager.js +2 -2
  226. package/dist/components/side-panel/interaction-panel/brush-config.js +1 -1
  227. package/dist/components/side-panel/interaction-panel/interaction-panel.js +1 -1
  228. package/dist/components/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.js +1 -1
  229. package/dist/components/side-panel/interaction-panel/tooltip-config.js +1 -1
  230. package/dist/components/side-panel/layer-manager.js +1 -1
  231. package/dist/components/side-panel/layer-panel/color-palette.js +1 -1
  232. package/dist/components/side-panel/layer-panel/color-range-selector.js +1 -1
  233. package/dist/components/side-panel/layer-panel/color-selector.js +1 -1
  234. package/dist/components/side-panel/layer-panel/column-selector.js +1 -1
  235. package/dist/components/side-panel/layer-panel/custom-palette.js +1 -1
  236. package/dist/components/side-panel/layer-panel/custom-picker.js +1 -1
  237. package/dist/components/side-panel/layer-panel/dimension-scale-selector.js +2 -2
  238. package/dist/components/side-panel/layer-panel/layer-column-config.js +1 -1
  239. package/dist/components/side-panel/layer-panel/layer-config-group.js +21 -5
  240. package/dist/components/side-panel/layer-panel/layer-configurator.js +10 -4
  241. package/dist/components/side-panel/layer-panel/layer-panel-header.js +1 -1
  242. package/dist/components/side-panel/layer-panel/layer-panel.js +1 -1
  243. package/dist/components/side-panel/layer-panel/layer-type-dropdown-list.js +1 -1
  244. package/dist/components/side-panel/layer-panel/layer-type-list-item.js +1 -1
  245. package/dist/components/side-panel/layer-panel/layer-type-selector.js +1 -1
  246. package/dist/components/side-panel/layer-panel/single-color-palette.js +1 -1
  247. package/dist/components/side-panel/layer-panel/text-label-panel.js +1 -1
  248. package/dist/components/side-panel/layer-panel/vis-config-by-field-selector.js +1 -1
  249. package/dist/components/side-panel/layer-panel/vis-config-slider.js +2 -2
  250. package/dist/components/side-panel/layer-panel/vis-config-switch.js +2 -1
  251. package/dist/components/side-panel/map-manager.js +1 -1
  252. package/dist/components/side-panel/map-style-panel/map-layer-selector.js +1 -1
  253. package/dist/components/side-panel/map-style-panel/map-style-selector.js +1 -1
  254. package/dist/components/side-panel/panel-dropdown.js +1 -1
  255. package/dist/components/side-panel/panel-header-action.js +1 -1
  256. package/dist/components/side-panel/panel-header.js +1 -1
  257. package/dist/components/side-panel/panel-tab.js +1 -1
  258. package/dist/components/side-panel/panel-title.js +1 -1
  259. package/dist/components/side-panel/panel-toggle.js +1 -1
  260. package/dist/components/side-panel/side-bar.js +1 -1
  261. package/dist/components/side-panel.js +1 -1
  262. package/dist/connect/keplergl-connect.js +2 -2
  263. package/dist/connect/with-local-selector.js +1 -1
  264. package/dist/constants/action-types.js +2 -2
  265. package/dist/constants/color-palette.js +2 -2
  266. package/dist/constants/color-ranges.js +1 -1
  267. package/dist/constants/custom-color-ranges.js +2 -2
  268. package/dist/constants/default-settings.js +5 -3
  269. package/dist/constants/index.js +1 -1
  270. package/dist/constants/keyevent.js +2 -2
  271. package/dist/constants/tooltip.js +2 -2
  272. package/dist/constants/user-feedbacks.js +2 -2
  273. package/dist/constants/user-guides.js +2 -2
  274. package/dist/deckgl-layers/3d-building-layer/3d-building-layer.js +1 -1
  275. package/dist/deckgl-layers/3d-building-layer/3d-building-utils.js +2 -2
  276. package/dist/deckgl-layers/cluster-layer/cluster-layer.js +7 -4
  277. package/dist/deckgl-layers/column-layer/enhanced-column-layer.js +1 -1
  278. package/dist/deckgl-layers/grid-layer/enhanced-cpu-grid-layer.js +1 -1
  279. package/dist/deckgl-layers/hexagon-layer/enhanced-hexagon-layer.js +1 -1
  280. package/dist/deckgl-layers/layer-utils/cluster-utils.js +2 -2
  281. package/dist/deckgl-layers/layer-utils/cpu-aggregator.js +1 -1
  282. package/dist/deckgl-layers/layer-utils/shader-utils.js +2 -2
  283. package/dist/deckgl-layers/line-layer/line-layer.js +1 -1
  284. package/dist/deckgl-layers/svg-icon-layer/scatterplot-icon-layer.js +1 -1
  285. package/dist/deckgl-layers/svg-icon-layer/svg-icon-layer.js +1 -1
  286. package/dist/index.js +1 -1
  287. package/dist/layers/aggregation-layer.js +6 -3
  288. package/dist/layers/arc-layer/arc-layer-icon.js +1 -1
  289. package/dist/layers/arc-layer/arc-layer.js +1 -1
  290. package/dist/layers/base-layer.js +9 -5
  291. package/dist/layers/cluster-layer/cluster-layer-icon.js +1 -1
  292. package/dist/layers/cluster-layer/cluster-layer.js +1 -1
  293. package/dist/layers/default-layer-icon.js +1 -1
  294. package/dist/layers/geojson-layer/geojson-layer-icon.js +1 -1
  295. package/dist/layers/geojson-layer/geojson-layer.js +1 -1
  296. package/dist/layers/geojson-layer/geojson-utils.js +1 -1
  297. package/dist/layers/grid-layer/grid-layer-icon.js +1 -1
  298. package/dist/layers/grid-layer/grid-layer.js +1 -1
  299. package/dist/layers/grid-layer/grid-utils.js +2 -2
  300. package/dist/layers/h3-hexagon-layer/h3-hexagon-layer-icon.js +1 -1
  301. package/dist/layers/h3-hexagon-layer/h3-hexagon-layer.js +1 -1
  302. package/dist/layers/h3-hexagon-layer/h3-utils.js +2 -2
  303. package/dist/layers/heatmap-layer/heatmap-layer-icon.js +1 -1
  304. package/dist/layers/heatmap-layer/heatmap-layer.js +1 -1
  305. package/dist/layers/hexagon-layer/hexagon-layer-icon.js +1 -1
  306. package/dist/layers/hexagon-layer/hexagon-layer.js +1 -1
  307. package/dist/layers/hexagon-layer/hexagon-utils.js +2 -2
  308. package/dist/layers/icon-layer/icon-info-modal.js +1 -1
  309. package/dist/layers/icon-layer/icon-layer-icon.js +1 -1
  310. package/dist/layers/icon-layer/icon-layer.js +1 -1
  311. package/dist/layers/index.js +1 -1
  312. package/dist/layers/layer-factory.js +2 -2
  313. package/dist/layers/layer-text-label.js +2 -2
  314. package/dist/layers/layer-update.js +2 -2
  315. package/dist/layers/line-layer/line-layer-icon.js +1 -1
  316. package/dist/layers/line-layer/line-layer.js +1 -1
  317. package/dist/layers/mapbox-utils.js +1 -1
  318. package/dist/layers/mapboxgl-layer.js +1 -1
  319. package/dist/layers/point-layer/point-layer-icon.js +1 -1
  320. package/dist/layers/point-layer/point-layer.js +1 -1
  321. package/dist/layers/s2-geometry-layer/s2-geometry-layer.js +1 -1
  322. package/dist/layers/s2-geometry-layer/s2-layer-icon.js +1 -1
  323. package/dist/layers/s2-geometry-layer/s2-utils.js +2 -2
  324. package/dist/layers/scenegraph-layer/scenegraph-info-modal.js +1 -1
  325. package/dist/layers/scenegraph-layer/scenegraph-layer-icon.js +1 -1
  326. package/dist/layers/scenegraph-layer/scenegraph-layer.js +1 -1
  327. package/dist/layers/trip-layer/trip-info-modal.js +1 -1
  328. package/dist/layers/trip-layer/trip-layer-icon.js +1 -1
  329. package/dist/layers/trip-layer/trip-layer.js +1 -1
  330. package/dist/layers/trip-layer/trip-utils.js +2 -2
  331. package/dist/layers/types.js +2 -2
  332. package/dist/localization/ca.js +1 -1
  333. package/dist/localization/cn.js +1 -1
  334. package/dist/localization/en.js +3 -2
  335. package/dist/localization/es.js +1 -1
  336. package/dist/localization/fi.js +1 -1
  337. package/dist/localization/formatted-message.js +2 -2
  338. package/dist/localization/index.js +1 -1
  339. package/dist/localization/ja.js +1 -1
  340. package/dist/localization/locales.js +2 -2
  341. package/dist/localization/pt.js +1 -1
  342. package/dist/localization/ru.js +1 -1
  343. package/dist/middleware/index.js +2 -2
  344. package/dist/processors/data-processor.js +1 -1
  345. package/dist/processors/file-handler.js +1 -1
  346. package/dist/processors/index.js +1 -1
  347. package/dist/reducers/combined-updaters.js +1 -1
  348. package/dist/reducers/composer-helpers.js +1 -1
  349. package/dist/reducers/composers.js +1 -1
  350. package/dist/reducers/core.js +2 -2
  351. package/dist/reducers/index.js +1 -1
  352. package/dist/reducers/map-state-updaters.js +1 -1
  353. package/dist/reducers/map-state.js +1 -1
  354. package/dist/reducers/map-style-updaters.js +1 -1
  355. package/dist/reducers/map-style.js +1 -1
  356. package/dist/reducers/provider-state-updaters.js +1 -1
  357. package/dist/reducers/provider-state.js +1 -1
  358. package/dist/reducers/root.js +1 -1
  359. package/dist/reducers/ui-state-updaters.js +1 -1
  360. package/dist/reducers/ui-state.js +1 -1
  361. package/dist/reducers/vis-state-merger.js +1 -1
  362. package/dist/reducers/vis-state-selectors.js +2 -2
  363. package/dist/reducers/vis-state-updaters.js +1 -1
  364. package/dist/reducers/vis-state.js +1 -1
  365. package/dist/schemas/dataset-schema.js +1 -1
  366. package/dist/schemas/index.js +1 -1
  367. package/dist/schemas/map-state-schema.js +1 -1
  368. package/dist/schemas/map-style-schema.js +1 -1
  369. package/dist/schemas/schema-manager.js +1 -1
  370. package/dist/schemas/schema-utils.js +2 -2
  371. package/dist/schemas/schema.js +1 -1
  372. package/dist/schemas/versions.js +2 -2
  373. package/dist/schemas/vis-state-schema.js +1 -1
  374. package/dist/styles/base.js +1 -1
  375. package/dist/styles/index.js +1 -1
  376. package/dist/styles/media-breakpoints.js +1 -1
  377. package/dist/tasks/tasks.js +2 -2
  378. package/dist/templates/export-map-html.js +2 -2
  379. package/dist/utils/aggregate-utils.js +1 -1
  380. package/dist/utils/color-utils.js +2 -2
  381. package/dist/utils/data-scale-utils.js +2 -2
  382. package/dist/utils/data-utils.js +1 -1
  383. package/dist/utils/dataset-utils.js +1 -1
  384. package/dist/utils/dom-to-image.js +2 -2
  385. package/dist/utils/dom-utils.js +2 -2
  386. package/dist/utils/export-utils.js +1 -1
  387. package/dist/utils/filter-utils.js +1 -1
  388. package/dist/utils/gl-utils.js +1 -1
  389. package/dist/utils/gpu-filter-utils.js +1 -1
  390. package/dist/utils/index.js +1 -1
  391. package/dist/utils/interaction-utils.js +2 -2
  392. package/dist/utils/layer-utils.js +18 -3
  393. package/dist/utils/locale-utils.js +1 -1
  394. package/dist/utils/map-info-utils.js +2 -2
  395. package/dist/utils/map-style-utils/mapbox-gl-style-editor.js +1 -1
  396. package/dist/utils/map-style-utils/mapbox-utils.js +2 -2
  397. package/dist/utils/mapbox-utils.js +2 -2
  398. package/dist/utils/notifications-utils.js +1 -1
  399. package/dist/utils/observe-dimensions.js +1 -1
  400. package/dist/utils/projection-utils.js +2 -2
  401. package/dist/utils/searcher-utils.js +2 -2
  402. package/dist/utils/split-map-utils.js +1 -1
  403. package/dist/utils/table-utils/data-container-utils.js +1 -1
  404. package/dist/utils/table-utils/data-row.js +2 -2
  405. package/dist/utils/table-utils/index.js +1 -1
  406. package/dist/utils/table-utils/indexed-data-container.js +1 -1
  407. package/dist/utils/table-utils/kepler-table.js +1 -1
  408. package/dist/utils/table-utils/row-data-container.js +1 -1
  409. package/dist/utils/utils.js +1 -1
  410. package/layers.js +1 -1
  411. package/localization.js +1 -1
  412. package/middleware.js +1 -1
  413. package/package.json +14 -14
  414. package/processors.js +1 -1
  415. package/reducers.js +1 -1
  416. package/schemas.js +1 -1
  417. package/src/actions/action-wrapper.js +1 -1
  418. package/src/actions/actions.js +1 -1
  419. package/src/actions/identity-actions.js +1 -1
  420. package/src/actions/index.js +1 -1
  421. package/src/actions/map-state-actions.js +1 -1
  422. package/src/actions/map-style-actions.js +1 -1
  423. package/src/actions/provider-actions.js +1 -1
  424. package/src/actions/ui-state-actions.js +1 -1
  425. package/src/actions/vis-state-actions.js +1 -1
  426. package/src/cloud-providers/index.js +1 -1
  427. package/src/cloud-providers/provider.js +1 -1
  428. package/src/components/bottom-widget.js +1 -1
  429. package/src/components/common/action-panel.js +1 -1
  430. package/src/components/common/animation-control/animation-control.js +1 -1
  431. package/src/components/common/animation-control/animation-controller.js +1 -1
  432. package/src/components/common/animation-control/animation-speed-slider.js +1 -1
  433. package/src/components/common/animation-control/floating-time-display.js +1 -1
  434. package/src/components/common/animation-control/playback-controls.js +1 -1
  435. package/src/components/common/animation-control/speed-control.js +1 -1
  436. package/src/components/common/checkbox.js +6 -2
  437. package/src/components/common/color-legend.js +1 -1
  438. package/src/components/common/data-table/button.js +1 -1
  439. package/src/components/common/data-table/canvas.js +1 -1
  440. package/src/components/common/data-table/cell-size.js +1 -1
  441. package/src/components/common/data-table/grid.js +1 -1
  442. package/src/components/common/data-table/index.js +1 -1
  443. package/src/components/common/data-table/option-dropdown.js +1 -1
  444. package/src/components/common/dataset-label.js +1 -1
  445. package/src/components/common/error-boundary.js +1 -1
  446. package/src/components/common/field-selector.js +1 -1
  447. package/src/components/common/field-token.js +1 -1
  448. package/src/components/common/file-uploader/file-drop.js +1 -1
  449. package/src/components/common/file-uploader/file-upload-progress.js +1 -1
  450. package/src/components/common/file-uploader/file-upload.js +1 -1
  451. package/src/components/common/file-uploader/upload-button.js +1 -1
  452. package/src/components/common/histogram-plot.js +1 -1
  453. package/src/components/common/icons/add.js +1 -1
  454. package/src/components/common/icons/anchor_window.js +1 -1
  455. package/src/components/common/icons/arrow-down-alt.js +1 -1
  456. package/src/components/common/icons/arrow-down-solid .js +1 -1
  457. package/src/components/common/icons/arrow-down.js +1 -1
  458. package/src/components/common/icons/arrow-left.js +1 -1
  459. package/src/components/common/icons/arrow-right.js +1 -1
  460. package/src/components/common/icons/arrow-up-alt.js +1 -1
  461. package/src/components/common/icons/arrow-up-solid.js +1 -1
  462. package/src/components/common/icons/arrow-up.js +1 -1
  463. package/src/components/common/icons/base.js +1 -1
  464. package/src/components/common/icons/bug.js +1 -1
  465. package/src/components/common/icons/cancel.js +1 -1
  466. package/src/components/common/icons/checkmark.js +1 -1
  467. package/src/components/common/icons/clipboard.js +1 -1
  468. package/src/components/common/icons/clock.js +1 -1
  469. package/src/components/common/icons/close.js +1 -1
  470. package/src/components/common/icons/code-alt.js +1 -1
  471. package/src/components/common/icons/copy.js +1 -1
  472. package/src/components/common/icons/crosshairs.js +1 -1
  473. package/src/components/common/icons/cube-3d.js +1 -1
  474. package/src/components/common/icons/cursor-click.js +1 -1
  475. package/src/components/common/icons/data-table.js +1 -1
  476. package/src/components/common/icons/db.js +1 -1
  477. package/src/components/common/icons/delete.js +1 -1
  478. package/src/components/common/icons/docs.js +1 -1
  479. package/src/components/common/icons/drag-n-drop.js +1 -1
  480. package/src/components/common/icons/draw-polygon.js +1 -1
  481. package/src/components/common/icons/email.js +1 -1
  482. package/src/components/common/icons/expand.js +1 -1
  483. package/src/components/common/icons/eye-seen.js +1 -1
  484. package/src/components/common/icons/eye-unseen.js +1 -1
  485. package/src/components/common/icons/file-type.js +1 -1
  486. package/src/components/common/icons/file.js +1 -1
  487. package/src/components/common/icons/files.js +1 -1
  488. package/src/components/common/icons/filter-funnel.js +1 -1
  489. package/src/components/common/icons/free-window.js +1 -1
  490. package/src/components/common/icons/gear.js +1 -1
  491. package/src/components/common/icons/hash.js +1 -1
  492. package/src/components/common/icons/histogram.js +1 -1
  493. package/src/components/common/icons/index.js +1 -1
  494. package/src/components/common/icons/info.js +1 -1
  495. package/src/components/common/icons/layers.js +1 -1
  496. package/src/components/common/icons/left-arrow.js +1 -1
  497. package/src/components/common/icons/legend.js +1 -1
  498. package/src/components/common/icons/line-chart.js +1 -1
  499. package/src/components/common/icons/login.js +1 -1
  500. package/src/components/common/icons/logout.js +1 -1
  501. package/src/components/common/icons/map-icon.js +1 -1
  502. package/src/components/common/icons/map.js +1 -1
  503. package/src/components/common/icons/messages.js +1 -1
  504. package/src/components/common/icons/minus.js +1 -1
  505. package/src/components/common/icons/pause.js +1 -1
  506. package/src/components/common/icons/picture.js +1 -1
  507. package/src/components/common/icons/pin.js +1 -1
  508. package/src/components/common/icons/play.js +1 -1
  509. package/src/components/common/icons/polygon.js +1 -1
  510. package/src/components/common/icons/rectangle.js +1 -1
  511. package/src/components/common/icons/reduce.js +1 -1
  512. package/src/components/common/icons/reset.js +1 -1
  513. package/src/components/common/icons/rocket.js +1 -1
  514. package/src/components/common/icons/save.js +1 -1
  515. package/src/components/common/icons/save2.js +1 -1
  516. package/src/components/common/icons/search.js +1 -1
  517. package/src/components/common/icons/settings.js +1 -1
  518. package/src/components/common/icons/share.js +1 -1
  519. package/src/components/common/icons/split.js +1 -1
  520. package/src/components/common/icons/square-select.js +1 -1
  521. package/src/components/common/icons/swap-horizontal.js +1 -1
  522. package/src/components/common/icons/table.js +1 -1
  523. package/src/components/common/icons/trash.js +1 -1
  524. package/src/components/common/icons/upload.js +1 -1
  525. package/src/components/common/icons/vert-dots.js +1 -1
  526. package/src/components/common/icons/vert-three-dots.js +1 -1
  527. package/src/components/common/icons/warning.js +1 -1
  528. package/src/components/common/image-preview.js +1 -1
  529. package/src/components/common/info-helper.js +3 -3
  530. package/src/components/common/item-selector/accessor.js +1 -1
  531. package/src/components/common/item-selector/chickleted-input.js +1 -1
  532. package/src/components/common/item-selector/dropdown-list.js +1 -1
  533. package/src/components/common/item-selector/item-selector.js +1 -1
  534. package/src/components/common/item-selector/typeahead.js +1 -1
  535. package/src/components/common/line-chart.js +1 -1
  536. package/src/components/common/loading-spinner.js +1 -1
  537. package/src/components/common/logo.js +1 -1
  538. package/src/components/common/map-layer-selector.js +1 -1
  539. package/src/components/common/modal.js +1 -1
  540. package/src/components/common/portaled.js +1 -1
  541. package/src/components/common/progress-bar.js +1 -1
  542. package/src/components/common/range-brush.js +1 -1
  543. package/src/components/common/range-plot.js +1 -1
  544. package/src/components/common/range-slider.js +1 -1
  545. package/src/components/common/slider/mouse-event.js +1 -1
  546. package/src/components/common/slider/slider-bar-handle.js +1 -1
  547. package/src/components/common/slider/slider-handle.js +1 -1
  548. package/src/components/common/slider/slider.js +1 -1
  549. package/src/components/common/styled-components.js +1 -1
  550. package/src/components/common/switch.js +1 -1
  551. package/src/components/common/time-range-slider-time-title.js +1 -1
  552. package/src/components/common/time-range-slider.js +1 -1
  553. package/src/components/common/time-slider-marker.js +1 -1
  554. package/src/components/common/toolbar-item.js +1 -1
  555. package/src/components/common/toolbar.js +1 -1
  556. package/src/components/common/vertical-toolbar.js +1 -1
  557. package/src/components/container.js +1 -1
  558. package/src/components/context.js +1 -1
  559. package/src/components/editor/constants.js +1 -1
  560. package/src/components/editor/editor.js +1 -1
  561. package/src/components/editor/feature-action-panel.js +1 -1
  562. package/src/components/editor/feature-styles.js +1 -1
  563. package/src/components/editor/handle-style.js +1 -1
  564. package/src/components/filters/components.js +1 -1
  565. package/src/components/filters/filter-panels/filter-panel-with-field-select.js +1 -1
  566. package/src/components/filters/filter-panels/multi-select-filter-panel.js +1 -1
  567. package/src/components/filters/filter-panels/new-filter-panel.js +1 -1
  568. package/src/components/filters/filter-panels/polygon-filter-panel.js +1 -1
  569. package/src/components/filters/filter-panels/range-filter-panel.js +1 -1
  570. package/src/components/filters/filter-panels/single-select-filter-panel.js +1 -1
  571. package/src/components/filters/filter-panels/time-range-filter-panel.js +1 -1
  572. package/src/components/filters/index.js +1 -1
  573. package/src/components/filters/multi-select-filter.js +1 -1
  574. package/src/components/filters/polygon-filter.js +1 -1
  575. package/src/components/filters/range-filter.js +1 -1
  576. package/src/components/filters/single-select-filter.js +1 -1
  577. package/src/components/filters/time-range-filter.js +1 -1
  578. package/src/components/filters/time-widget.js +1 -1
  579. package/src/components/geocoder/geocoder.js +1 -1
  580. package/src/components/geocoder-panel.js +1 -1
  581. package/src/components/index.js +1 -1
  582. package/src/components/injector.js +1 -1
  583. package/src/components/kepler-gl.d.ts +1 -0
  584. package/src/components/kepler-gl.js +16 -4
  585. package/src/components/map/coordinate-info.js +1 -1
  586. package/src/components/map/layer-hover-info.js +1 -1
  587. package/src/components/map/layer-selector-panel.js +1 -1
  588. package/src/components/map/locale-panel.js +1 -1
  589. package/src/components/map/map-control-panel.js +1 -1
  590. package/src/components/map/map-control-toolbar.js +1 -1
  591. package/src/components/map/map-control-tooltip.js +1 -1
  592. package/src/components/map/map-control.js +1 -1
  593. package/src/components/map/map-draw-panel.js +1 -1
  594. package/src/components/map/map-legend-panel.js +1 -1
  595. package/src/components/map/map-legend.js +1 -1
  596. package/src/components/map/map-popover.js +1 -1
  597. package/src/components/map/split-map-button.js +1 -1
  598. package/src/components/map/toggle-3d-button.js +1 -1
  599. package/src/components/map-container.js +21 -3
  600. package/src/components/maps-layout.js +1 -1
  601. package/src/components/modal-container.js +1 -1
  602. package/src/components/modals/add-map-style-modal.js +1 -1
  603. package/src/components/modals/cloud-tile.js +1 -1
  604. package/src/components/modals/data-table-modal.js +1 -1
  605. package/src/components/modals/delete-data-modal.js +1 -1
  606. package/src/components/modals/error-display.js +1 -1
  607. package/src/components/modals/export-data-modal.js +1 -1
  608. package/src/components/modals/export-image-modal.js +1 -1
  609. package/src/components/modals/export-map-modal/components.js +1 -1
  610. package/src/components/modals/export-map-modal/export-html-map.js +1 -1
  611. package/src/components/modals/export-map-modal/export-json-map.js +1 -1
  612. package/src/components/modals/export-map-modal/export-map-modal.js +1 -1
  613. package/src/components/modals/image-modal-container.js +1 -1
  614. package/src/components/modals/load-data-modal.js +1 -1
  615. package/src/components/modals/load-storage-map.js +1 -1
  616. package/src/components/modals/loading-dialog.js +1 -1
  617. package/src/components/modals/modal-dialog.js +1 -1
  618. package/src/components/modals/modal-tabs.js +1 -1
  619. package/src/components/modals/overwrite-map-modal.js +1 -1
  620. package/src/components/modals/provider-modal-container.js +1 -1
  621. package/src/components/modals/save-map-modal.js +1 -1
  622. package/src/components/modals/share-map-modal.js +1 -1
  623. package/src/components/modals/status-panel.js +1 -1
  624. package/src/components/modals/storage-map-viewer.js +1 -1
  625. package/src/components/notification-panel/notification-item.js +1 -1
  626. package/src/components/notification-panel.js +1 -1
  627. package/src/components/plot-container.js +4 -3
  628. package/src/components/side-panel/cloud-storage-dropdown.js +1 -1
  629. package/src/components/side-panel/common/dataset-info.js +1 -1
  630. package/src/components/side-panel/common/dataset-tag.js +1 -1
  631. package/src/components/side-panel/common/dataset-title.js +1 -1
  632. package/src/components/side-panel/common/source-data-catalog.js +1 -1
  633. package/src/components/side-panel/common/source-data-selector.js +1 -1
  634. package/src/components/side-panel/custom-panel.js +1 -1
  635. package/src/components/side-panel/filter-manager.js +1 -1
  636. package/src/components/side-panel/filter-panel/filter-panel-header.js +1 -1
  637. package/src/components/side-panel/filter-panel/filter-panel.js +1 -1
  638. package/src/components/side-panel/interaction-manager.js +1 -1
  639. package/src/components/side-panel/interaction-panel/brush-config.js +1 -1
  640. package/src/components/side-panel/interaction-panel/interaction-panel.js +1 -1
  641. package/src/components/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.js +1 -1
  642. package/src/components/side-panel/interaction-panel/tooltip-config.js +1 -1
  643. package/src/components/side-panel/layer-manager.js +1 -1
  644. package/src/components/side-panel/layer-panel/color-palette.js +1 -1
  645. package/src/components/side-panel/layer-panel/color-range-selector.js +1 -1
  646. package/src/components/side-panel/layer-panel/color-selector.js +1 -1
  647. package/src/components/side-panel/layer-panel/column-selector.js +1 -1
  648. package/src/components/side-panel/layer-panel/custom-palette.js +1 -1
  649. package/src/components/side-panel/layer-panel/custom-picker.js +1 -1
  650. package/src/components/side-panel/layer-panel/dimension-scale-selector.js +1 -1
  651. package/src/components/side-panel/layer-panel/layer-column-config.js +1 -1
  652. package/src/components/side-panel/layer-panel/layer-config-group.js +20 -6
  653. package/src/components/side-panel/layer-panel/layer-configurator.js +10 -1
  654. package/src/components/side-panel/layer-panel/layer-panel-header.js +1 -1
  655. package/src/components/side-panel/layer-panel/layer-panel.js +1 -1
  656. package/src/components/side-panel/layer-panel/layer-type-dropdown-list.js +1 -1
  657. package/src/components/side-panel/layer-panel/layer-type-list-item.js +1 -1
  658. package/src/components/side-panel/layer-panel/layer-type-selector.js +1 -1
  659. package/src/components/side-panel/layer-panel/single-color-palette.js +1 -1
  660. package/src/components/side-panel/layer-panel/text-label-panel.js +1 -1
  661. package/src/components/side-panel/layer-panel/vis-config-by-field-selector.js +1 -1
  662. package/src/components/side-panel/layer-panel/vis-config-slider.js +1 -1
  663. package/src/components/side-panel/layer-panel/vis-config-switch.js +2 -1
  664. package/src/components/side-panel/map-manager.js +1 -1
  665. package/src/components/side-panel/map-style-panel/map-layer-selector.js +1 -1
  666. package/src/components/side-panel/map-style-panel/map-style-selector.js +1 -1
  667. package/src/components/side-panel/panel-dropdown.js +1 -1
  668. package/src/components/side-panel/panel-header-action.js +1 -1
  669. package/src/components/side-panel/panel-header.js +1 -1
  670. package/src/components/side-panel/panel-tab.js +1 -1
  671. package/src/components/side-panel/panel-title.js +1 -1
  672. package/src/components/side-panel/panel-toggle.js +1 -1
  673. package/src/components/side-panel/side-bar.js +1 -1
  674. package/src/components/side-panel.js +1 -1
  675. package/src/connect/keplergl-connect.js +1 -1
  676. package/src/connect/with-local-selector.js +1 -1
  677. package/src/constants/action-types.js +1 -1
  678. package/src/constants/color-palette.js +1 -1
  679. package/src/constants/color-ranges.js +1 -1
  680. package/src/constants/custom-color-ranges.js +1 -1
  681. package/src/constants/default-settings.js +3 -1
  682. package/src/constants/index.js +1 -1
  683. package/src/constants/keyevent.js +1 -1
  684. package/src/constants/tooltip.js +1 -1
  685. package/src/constants/user-feedbacks.js +1 -1
  686. package/src/constants/user-guides.js +1 -1
  687. package/src/deckgl-layers/3d-building-layer/3d-building-layer.js +1 -1
  688. package/src/deckgl-layers/3d-building-layer/3d-building-utils.js +1 -1
  689. package/src/deckgl-layers/cluster-layer/cluster-layer.js +6 -2
  690. package/src/deckgl-layers/column-layer/enhanced-column-layer.js +1 -1
  691. package/src/deckgl-layers/grid-layer/enhanced-cpu-grid-layer.js +1 -1
  692. package/src/deckgl-layers/hexagon-layer/enhanced-hexagon-layer.js +1 -1
  693. package/src/deckgl-layers/layer-utils/cluster-utils.js +1 -1
  694. package/src/deckgl-layers/layer-utils/cpu-aggregator.js +1 -1
  695. package/src/deckgl-layers/layer-utils/shader-utils.js +1 -1
  696. package/src/deckgl-layers/line-layer/line-layer.js +1 -1
  697. package/src/deckgl-layers/svg-icon-layer/scatterplot-icon-layer.js +1 -1
  698. package/src/deckgl-layers/svg-icon-layer/svg-icon-layer.js +1 -1
  699. package/src/index.js +1 -1
  700. package/src/layers/aggregation-layer.js +6 -2
  701. package/src/layers/arc-layer/arc-layer-icon.js +1 -1
  702. package/src/layers/arc-layer/arc-layer.js +1 -1
  703. package/src/layers/base-layer.js +7 -4
  704. package/src/layers/cluster-layer/cluster-layer-icon.js +1 -1
  705. package/src/layers/cluster-layer/cluster-layer.js +1 -1
  706. package/src/layers/default-layer-icon.js +1 -1
  707. package/src/layers/geojson-layer/geojson-layer-icon.js +1 -1
  708. package/src/layers/geojson-layer/geojson-layer.js +1 -1
  709. package/src/layers/geojson-layer/geojson-utils.js +1 -1
  710. package/src/layers/grid-layer/grid-layer-icon.js +1 -1
  711. package/src/layers/grid-layer/grid-layer.js +1 -1
  712. package/src/layers/grid-layer/grid-utils.js +1 -1
  713. package/src/layers/h3-hexagon-layer/h3-hexagon-layer-icon.js +1 -1
  714. package/src/layers/h3-hexagon-layer/h3-hexagon-layer.js +1 -1
  715. package/src/layers/h3-hexagon-layer/h3-utils.js +1 -1
  716. package/src/layers/heatmap-layer/heatmap-layer-icon.js +1 -1
  717. package/src/layers/heatmap-layer/heatmap-layer.js +1 -1
  718. package/src/layers/hexagon-layer/hexagon-layer-icon.js +1 -1
  719. package/src/layers/hexagon-layer/hexagon-layer.js +1 -1
  720. package/src/layers/hexagon-layer/hexagon-utils.js +1 -1
  721. package/src/layers/icon-layer/icon-info-modal.js +1 -1
  722. package/src/layers/icon-layer/icon-layer-icon.js +1 -1
  723. package/src/layers/icon-layer/icon-layer.js +1 -1
  724. package/src/layers/index.js +1 -1
  725. package/src/layers/layer-factory.js +1 -1
  726. package/src/layers/layer-text-label.js +1 -1
  727. package/src/layers/layer-update.js +1 -1
  728. package/src/layers/line-layer/line-layer-icon.js +1 -1
  729. package/src/layers/line-layer/line-layer.js +1 -1
  730. package/src/layers/mapbox-utils.js +1 -1
  731. package/src/layers/mapboxgl-layer.js +1 -1
  732. package/src/layers/point-layer/point-layer-icon.js +1 -1
  733. package/src/layers/point-layer/point-layer.js +1 -1
  734. package/src/layers/s2-geometry-layer/s2-geometry-layer.js +1 -1
  735. package/src/layers/s2-geometry-layer/s2-layer-icon.js +1 -1
  736. package/src/layers/s2-geometry-layer/s2-utils.js +1 -1
  737. package/src/layers/scenegraph-layer/scenegraph-info-modal.js +1 -1
  738. package/src/layers/scenegraph-layer/scenegraph-layer-icon.js +1 -1
  739. package/src/layers/scenegraph-layer/scenegraph-layer.js +1 -1
  740. package/src/layers/trip-layer/trip-info-modal.js +1 -1
  741. package/src/layers/trip-layer/trip-layer-icon.js +1 -1
  742. package/src/layers/trip-layer/trip-layer.js +1 -1
  743. package/src/layers/trip-layer/trip-utils.js +1 -1
  744. package/src/layers/types.js +1 -1
  745. package/src/localization/ca.js +1 -1
  746. package/src/localization/cn.js +1 -1
  747. package/src/localization/en.js +3 -2
  748. package/src/localization/es.js +1 -1
  749. package/src/localization/fi.js +1 -1
  750. package/src/localization/formatted-message.js +1 -1
  751. package/src/localization/index.js +1 -1
  752. package/src/localization/ja.js +1 -1
  753. package/src/localization/locales.js +1 -1
  754. package/src/localization/pt.js +1 -1
  755. package/src/localization/ru.js +1 -1
  756. package/src/middleware/index.js +1 -1
  757. package/src/processors/data-processor.js +1 -1
  758. package/src/processors/file-handler.js +1 -1
  759. package/src/processors/index.js +1 -1
  760. package/src/reducers/combined-updaters.js +1 -1
  761. package/src/reducers/composer-helpers.js +1 -1
  762. package/src/reducers/composers.js +1 -1
  763. package/src/reducers/core.js +1 -1
  764. package/src/reducers/index.js +1 -1
  765. package/src/reducers/map-state-updaters.js +1 -1
  766. package/src/reducers/map-state.js +1 -1
  767. package/src/reducers/map-style-updaters.js +1 -1
  768. package/src/reducers/map-style.js +1 -1
  769. package/src/reducers/provider-state-updaters.js +1 -1
  770. package/src/reducers/provider-state.js +1 -1
  771. package/src/reducers/root.js +1 -1
  772. package/src/reducers/ui-state-updaters.js +1 -1
  773. package/src/reducers/ui-state.js +1 -1
  774. package/src/reducers/vis-state-merger.js +1 -1
  775. package/src/reducers/vis-state-selectors.js +1 -1
  776. package/src/reducers/vis-state-updaters.js +1 -1
  777. package/src/reducers/vis-state.js +1 -1
  778. package/src/schemas/dataset-schema.js +1 -1
  779. package/src/schemas/index.js +1 -1
  780. package/src/schemas/map-state-schema.js +1 -1
  781. package/src/schemas/map-style-schema.js +1 -1
  782. package/src/schemas/schema-manager.js +1 -1
  783. package/src/schemas/schema-utils.js +1 -1
  784. package/src/schemas/schema.js +1 -1
  785. package/src/schemas/versions.js +1 -1
  786. package/src/schemas/vis-state-schema.js +1 -1
  787. package/src/styles/base.js +1 -1
  788. package/src/styles/index.js +1 -1
  789. package/src/styles/media-breakpoints.js +1 -1
  790. package/src/tasks/tasks.js +1 -1
  791. package/src/templates/export-map-html.js +1 -1
  792. package/src/utils/aggregate-utils.js +1 -1
  793. package/src/utils/color-utils.js +1 -1
  794. package/src/utils/data-scale-utils.js +1 -1
  795. package/src/utils/data-utils.js +1 -1
  796. package/src/utils/dataset-utils.js +1 -1
  797. package/src/utils/dom-to-image.js +1 -1
  798. package/src/utils/dom-utils.js +1 -1
  799. package/src/utils/export-utils.js +1 -1
  800. package/src/utils/filter-utils.js +1 -1
  801. package/src/utils/gl-utils.js +1 -1
  802. package/src/utils/gpu-filter-utils.js +1 -1
  803. package/src/utils/index.js +1 -1
  804. package/src/utils/interaction-utils.js +1 -1
  805. package/src/utils/layer-utils.d.ts +8 -0
  806. package/src/utils/layer-utils.js +17 -4
  807. package/src/utils/locale-utils.js +1 -1
  808. package/src/utils/map-info-utils.js +1 -1
  809. package/src/utils/map-style-utils/mapbox-gl-style-editor.js +1 -1
  810. package/src/utils/map-style-utils/mapbox-utils.js +1 -1
  811. package/src/utils/mapbox-utils.js +1 -1
  812. package/src/utils/notifications-utils.js +1 -1
  813. package/src/utils/observe-dimensions.js +1 -1
  814. package/src/utils/projection-utils.js +1 -1
  815. package/src/utils/searcher-utils.js +1 -1
  816. package/src/utils/split-map-utils.js +1 -1
  817. package/src/utils/table-utils/data-container-utils.js +1 -1
  818. package/src/utils/table-utils/data-row.js +1 -1
  819. package/src/utils/table-utils/index.js +1 -1
  820. package/src/utils/table-utils/indexed-data-container.js +1 -1
  821. package/src/utils/table-utils/kepler-table.js +1 -1
  822. package/src/utils/table-utils/row-data-container.js +1 -1
  823. package/src/utils/utils.js +1 -1
  824. package/styles.js +1 -1
  825. package/umd/keplergl.min.js +180 -181
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -21,6 +21,7 @@
21
21
  import React, {Component} from 'react';
22
22
  import {polyfill} from 'react-lifecycles-compat';
23
23
  import styled from 'styled-components';
24
+ import {Tooltip} from 'components/common/styled-components';
24
25
  import classnames from 'classnames';
25
26
  import {FormattedMessage} from 'react-intl';
26
27
  import Switch from 'components/common/switch';
@@ -100,6 +101,11 @@ const ConfigGroupContent = styled.div`
100
101
  }
101
102
  `;
102
103
 
104
+ const StyledLayerConfigGroupSwitch = styled.div`
105
+ width: ${props => props.theme.switchWidth}px;
106
+ margin-right: ${props => props.theme.switchLabelMargin}px;
107
+ `;
108
+
103
109
  LayerConfigGroupLabelFactory.deps = [InfoHelperFactory];
104
110
 
105
111
  export function LayerConfigGroupLabelFactory(InfoHelper) {
@@ -170,6 +176,7 @@ function LayerConfigGroupFactory(LayerConfigGroupLabel) {
170
176
  label,
171
177
  children,
172
178
  property,
179
+ switchTooltip,
173
180
  layer,
174
181
  onChange,
175
182
  collapsible,
@@ -186,11 +193,18 @@ function LayerConfigGroupFactory(LayerConfigGroupLabel) {
186
193
  <LayerConfigGroupLabel label={label} description={description} />
187
194
  <StyledLayerConfigGroupAction className="layer-config-group__action">
188
195
  {property ? (
189
- <Switch
190
- checked={layer.config.visConfig[property]}
191
- id={`${layer.id}-${property}`}
192
- onChange={() => onChange({[property]: !layer.config.visConfig[property]})}
193
- />
196
+ <StyledLayerConfigGroupSwitch data-tip data-for={`${layer.id}-${label}-tooltip`}>
197
+ <Switch
198
+ checked={layer.config.visConfig[property]}
199
+ id={`${layer.id}-${property}`}
200
+ onChange={() => onChange({[property]: !layer.config.visConfig[property]})}
201
+ />
202
+ {switchTooltip ? (
203
+ <Tooltip id={`${layer.id}-${label}-tooltip`} effect="solid" place="top">
204
+ {switchTooltip}
205
+ </Tooltip>
206
+ ) : null}
207
+ </StyledLayerConfigGroupSwitch>
194
208
  ) : null}
195
209
  {collapsible ? (
196
210
  <CollapseButton
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1028,6 +1028,9 @@ export const LayerColorSelector = ({
1028
1028
  setColorUI
1029
1029
  }) => (
1030
1030
  <SidePanelSection>
1031
+ <PanelLabel>
1032
+ <FormattedMessage id="layer.color" />
1033
+ </PanelLabel>
1031
1034
  <ColorSelector
1032
1035
  colorSets={[
1033
1036
  {
@@ -1049,6 +1052,9 @@ export const ArcLayerColorSelector = ({
1049
1052
  setColorUI
1050
1053
  }) => (
1051
1054
  <SidePanelSection>
1055
+ <PanelLabel>
1056
+ <FormattedMessage id="layer.colorRange" />
1057
+ </PanelLabel>
1052
1058
  <ColorSelector
1053
1059
  colorSets={[
1054
1060
  {
@@ -1070,6 +1076,9 @@ export const ArcLayerColorSelector = ({
1070
1076
 
1071
1077
  export const LayerColorRangeSelector = ({layer, onChange, property = 'colorRange', setColorUI}) => (
1072
1078
  <SidePanelSection>
1079
+ <PanelLabel>
1080
+ <FormattedMessage id="layer.colorRange" />
1081
+ </PanelLabel>
1073
1082
  <ColorSelector
1074
1083
  colorSets={[
1075
1084
  {
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -71,6 +71,7 @@ function VisConfigSwitchFactory(InfoHelper) {
71
71
  </div>
72
72
  <div className="vis-config-switch__switch">
73
73
  <Switch
74
+ type="checkbox"
74
75
  checked={config.visConfig[property]}
75
76
  id={`${id}-${property}-switch`}
76
77
  onChange={() => onChange({[property]: !config.visConfig[property]})}
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -893,3 +893,5 @@ export const MAP_CONTROLS = keyMirror({
893
893
  mapDraw: null,
894
894
  mapLocale: null
895
895
  });
896
+
897
+ export const MASK_LAYER_ID = 'mask_layer';
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -33,6 +33,7 @@ import {LAYER_VIS_CONFIGS} from 'layers/layer-factory';
33
33
  import {SCALE_TYPES} from 'constants/default-settings';
34
34
  import {DEFAULT_COLOR_RANGE} from 'constants/color-ranges';
35
35
  import ClusterBuilder, {getGeoJSON} from '../layer-utils/cluster-utils';
36
+ import {getMaskExtensionProps} from 'utils/layer-utils';
36
37
 
37
38
  const defaultRadius = LAYER_VIS_CONFIGS.clusterRadius.defaultValue;
38
39
  const defaultRadiusRange = LAYER_VIS_CONFIGS.clusterRadiusRange.defaultValue;
@@ -225,6 +226,8 @@ export default class ClusterLayer extends AggregationLayer {
225
226
  const distanceScale = getDistanceScales(this.context.viewport);
226
227
  const metersPerPixel = distanceScale.metersPerPixel[0];
227
228
 
229
+ const maskExtensionProps = getMaskExtensionProps(this.props.maskPolygon);
230
+
228
231
  // return props to the sublayer constructor
229
232
  return new ScatterplotLayer({
230
233
  id: `${id}-cluster`,
@@ -236,7 +239,8 @@ export default class ClusterLayer extends AggregationLayer {
236
239
  autoHighlight,
237
240
  highlightColor,
238
241
  updateTriggers,
239
- ...accessors
242
+ ...accessors,
243
+ ...maskExtensionProps
240
244
  });
241
245
  }
242
246
  }
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@
20
20
 
21
21
  import memoize from 'lodash.memoize';
22
22
  import Layer from './base-layer';
23
+ import {getMaskExtensionProps} from 'utils/layer-utils';
23
24
  import {hexToRgb} from 'utils/color-utils';
24
25
  import {aggregate} from 'utils/aggregate-utils';
25
26
  import {
@@ -277,11 +278,14 @@ export default class AggregationLayer extends Layer {
277
278
 
278
279
  getDefaultDeckLayerProps(opts) {
279
280
  const baseProp = super.getDefaultDeckLayerProps(opts);
281
+ const maskExtensionProps = getMaskExtensionProps(opts.maskPolygon);
282
+
280
283
  return {
281
284
  ...baseProp,
285
+ ...maskExtensionProps,
282
286
  highlightColor: HIGHLIGH_COLOR_3D,
283
287
  // gpu data filtering is not supported in aggregation layer
284
- extensions: [],
288
+ extensions: [...maskExtensionProps.extensions],
285
289
  autoHighlight: this.config.visConfig.enable3d
286
290
  };
287
291
  }
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -54,6 +54,7 @@ import {getLatLngBounds, notNullorUndefined} from 'utils/data-utils';
54
54
  import {getSampleData} from 'utils/table-utils/data-container-utils';
55
55
 
56
56
  import {hexToRgb, getColorGroupByName, reverseColorRange} from 'utils/color-utils';
57
+ import {getMaskExtensionProps} from 'utils/layer-utils';
57
58
 
58
59
  /** @typedef {import('./index').Layer} LayerClass} */
59
60
 
@@ -1078,8 +1079,11 @@ class Layer {
1078
1079
  };
1079
1080
  }
1080
1081
 
1081
- getDefaultDeckLayerProps({idx, gpuFilter, mapState, visible}) {
1082
+ getDefaultDeckLayerProps({idx, gpuFilter, mapState, visible, maskPolygon}) {
1083
+ const maskExtensionProps = getMaskExtensionProps(maskPolygon);
1084
+
1082
1085
  return {
1086
+ ...maskExtensionProps,
1083
1087
  id: this.id,
1084
1088
  idx,
1085
1089
  coordinateSystem: COORDINATE_SYSTEM.LNGLAT,
@@ -1091,9 +1095,8 @@ class Layer {
1091
1095
  opacity: this.config.visConfig.opacity,
1092
1096
  highlightColor: this.config.highlightColor,
1093
1097
  // data filtering
1094
- extensions: [dataFilterExtension],
1098
+ extensions: [dataFilterExtension, ...maskExtensionProps.extensions],
1095
1099
  filterRange: gpuFilter ? gpuFilter.filterRange : undefined,
1096
-
1097
1100
  // layer should be visible and if splitMap, shown in to one of panel
1098
1101
  visible: this.config.isVisible && visible
1099
1102
  };
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- // Copyright (c) 2021 Uber Technologies, Inc.
1
+ // Copyright (c) 2022 Uber Technologies, Inc.
2
2
  //
3
3
  // Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  // of this software and associated documentation files (the "Software"), to deal