Skip to content

Commit

Permalink
[chore] vector tiles refactoring (#2945)
Browse files Browse the repository at this point in the history
- enable vector tile layer
- enable release banner


---------

Signed-off-by: Ihor Dykhta <[email protected]>
  • Loading branch information
igorDykhta authored Jan 29, 2025
1 parent 405c36e commit 089aa8c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/demo-app/src/factories/load-data-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const CustomLoadDataModalFactory = (...deps) => {
// add more loading methods
const 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.sample
Expand Down
10 changes: 5 additions & 5 deletions src/layers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -72,8 +72,8 @@ export const KeplerGlLayers = {
H3Layer,
ScenegraphLayer,
TripLayer,
S2GeometryLayer
// VectorTileLayer
S2GeometryLayer,
VectorTileLayer
};

export type LayerClassesType = typeof LayerClasses;
Expand All @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/src/application-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>> =
Expand Down

0 comments on commit 089aa8c

Please sign in to comment.