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

fetchMap: remove document mode and deck.gl dependencies #130

Open
wants to merge 11 commits into
base: felix/fetchmap-tests
Choose a base branch
from

Conversation

felixpalmer
Copy link
Contributor

For #124

Change list

  • Replace TILE_LAYER_TYPE_TO_LAYER with injected LayerProvider
  • Remove document mode layers
  • Remove any @deck.gl imports (except for types)
  • Remove PointLabelLayer & CollisionFilterExtension

@felixpalmer felixpalmer requested a review from donmccurdy March 13, 2025 16:35
Copy link
Member

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two comments, both optional -- thanks!

@@ -88,8 +78,10 @@ export function parseMap(json: any) {
assert(data, `No data loaded for dataId: ${dataId}`);
const {Layer, propMap, defaultProps} = getLayer(
type as LayerType,
// @ts-ignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional - Would a cast be appropriate here? This looks like it 'should' be OK?

@felixpalmer felixpalmer mentioned this pull request Mar 13, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants