Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] vector tiles refactoring #2945

Merged
merged 3 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading