Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[chore] vector tiles refactoring (#2945)
Igor Dykhta089aa8cf8c72
diff --git a/examples/demo-app/src/factories/load-data-modal.js b/examples/demo-app/src/factories/load-data-modal.jsindex ebf3da570..110006ab3 100644--- a/examples/demo-app/src/factories/load-data-modal.js+++ b/examples/demo-app/src/factories/load-data-modal.js@@ -29,7 +29,7 @@ const CustomLoadDataModalFactory = (...deps) => {// add more loading methodsconst loadingMethods = [defaultLoadingMethods.find(lm => lm.id === 'upload'),- // defaultLoadingMethods.find(lm => lm.id === 'tileset'),+ defaultLoadingMethods.find(lm => lm.id === 'tileset'),additionalMethods.remote,defaultLoadingMethods.find(lm => lm.id === 'storage'),additionalMethods.samplediff --git a/src/layers/src/index.ts b/src/layers/src/index.tsindex 1f89ea8e4..84d3e0517 100644--- a/src/layers/src/index.ts+++ b/src/layers/src/index.ts@@ -40,7 +40,7 @@ import {default as S2GeometryLayer} from './s2-geometry-layer/s2-geometry-layer'export {defaultElevation as s2DefaultElevation} from './s2-geometry-layer/s2-geometry-layer';export {getS2Center} from './s2-geometry-layer/s2-utils';export {default as AggregationLayer} from './aggregation-layer';-// import {default as VectorTileLayer} from './vector-tile/vector-tile-layer';+import {default as VectorTileLayer} from './vector-tile/vector-tile-layer';export {default as VectorTileIcon} from './vector-tile/vector-tile-icon';export {default as VectorTileLayer} from './vector-tile/vector-tile-layer';@@ -72,8 +72,8 @@ export const KeplerGlLayers = {H3Layer,ScenegraphLayer,TripLayer,- S2GeometryLayer- // VectorTileLayer+ S2GeometryLayer,+ VectorTileLayer};export type LayerClassesType = typeof LayerClasses;@@ -90,8 +90,8 @@ export const LayerClasses = {[LAYER_TYPES.hexagonId]: H3Layer,[LAYER_TYPES['3D']]: ScenegraphLayer,[LAYER_TYPES.trip]: TripLayer,- [LAYER_TYPES.s2]: S2GeometryLayer- // [LAYER_TYPES['vectorTile']]: VectorTileLayer+ [LAYER_TYPES.s2]: S2GeometryLayer,+ [LAYER_TYPES['vectorTile']]: VectorTileLayer};export * from './mapbox-utils';diff --git a/src/utils/src/application-config.ts b/src/utils/src/application-config.tsindex 1c73f83d8..3bc979a4a 100644--- a/src/utils/src/application-config.ts+++ b/src/utils/src/application-config.ts@@ -73,7 +73,7 @@ const DEFAULT_APPLICATION_CONFIG: Required<KeplerApplicationConfig<mapboxgl.Map>table: null,useArrowProgressiveLoading: true,- showReleaseBanner: false+ showReleaseBanner: true};const applicationConfig: Required<KeplerApplicationConfig<mapboxgl.Map>> =