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

Mapbox v3 #1

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Mapbox v3 #1

wants to merge 8 commits into from

Conversation

thadk
Copy link
Owner

@thadk thadk commented Jan 21, 2024

image

https://docs.mapbox.com/mapbox-gl-js/guides/migrate-to-v3/

  • Try DeckGL v9alpha in case it resolves console errors. It did not.
  • For some reason data renders behind Standard style, but renders okay on other styles.
  • DeckGL v9alpha is off kilter. Canvas partly appears at top of app. Probably want to revert to v8.
  • what is "feature-layer" error at right?
  • Are slots needed everywhere actually?

To fix DeckGL v9alpha for Mapbox 3.1, patch line 17 of placemark/node_modules/@deck.gl/layers/dist/es5/text-layer/font-atlas-manager.js with

let _tinySdf;
import('@mapbox/tiny-sdf').then((module) => {
 _tinySdf = module;
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants