Skip to content

Commit

Permalink
[chore] vector tiles refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta committed Jan 28, 2025
1 parent ed4510e commit 0b9d096
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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

0 comments on commit 0b9d096

Please sign in to comment.