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

Dynamic sources can't display GeoJSON correctly #13348

Open
zxwild opened this issue Dec 12, 2024 · 1 comment
Open

Dynamic sources can't display GeoJSON correctly #13348

zxwild opened this issue Dec 12, 2024 · 1 comment

Comments

@zxwild
Copy link

zxwild commented Dec 12, 2024

Hi,
I noticed it's impossible to use dynamic sources, due to corrupted GeoJSON features display.

Latest maplibre version (3.8.0) and chrome version (131) are used.

map.addSource('main', {
  dynamic: true,  // when "dynamic: false" is used all is OK
  type: 'geojson',
  data: {}
});

Almost all features I tried to display looks like this:
Screenshot_20241212_164804

Here is a demo, you can switch "dynamic" and see the difference.
https://codepen.io/qwioefsd/pen/zxOKjrZ

@instantgis
Copy link

same for me

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

No branches or pull requests

2 participants