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

Leaflet rendering issue on multiple geojsons with same source #5335

Open
zoran995 opened this issue Mar 17, 2021 · 3 comments
Open

Leaflet rendering issue on multiple geojsons with same source #5335

zoran995 opened this issue Mar 17, 2021 · 3 comments

Comments

@zoran995
Copy link
Contributor

zoran995 commented Mar 17, 2021

When having multiple GeoJSON items with the same URL, there is a rendering issue in Leaflet that GeoJson will be visible on the map when hidden or removed. Sometimes it happens that it doesn't render anything when only one item is shown. Everything works correctly in Cesium viewer
Steps to reproduce:

image
image

Haven't checked with other layer types. I was sure that something similar was happening with GeoJSON layers (and resolved) but can't find it anywhere edit: I was thinking that this is similar to #4342 but it is not

@himby
Copy link
Contributor

himby commented Mar 15, 2022

I can confirm similar behavior with multiple CZML datasources, it seems related to visualizers not being deleted correctly when disabling a catalog item. They seem to add up when enabling it again.

image

@himby
Copy link
Contributor

himby commented Sep 12, 2022

Still been struggling with this issue:
Using entities.id check instead of contains when adding datasources to leaflet and removing the raiseToTop re stacking seems to fix the problem.

Maybe others can confirm my findings.

(Leaflet.ts)

image

@nf-s
Copy link
Contributor

nf-s commented Sep 13, 2022

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

3 participants