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

[Feat] progressive Bitmap rendering #9383

Open
charlieforward9 opened this issue Jan 29, 2025 · 1 comment
Open

[Feat] progressive Bitmap rendering #9383

charlieforward9 opened this issue Jan 29, 2025 · 1 comment
Labels

Comments

@charlieforward9
Copy link

Target Use Case

Migrating from Leaflet to Maplibre and DeckGL has come with a plethora of advantages.

However, one of the disadvantages comes with rendering 100mb png images.

In Leaflet, when an image layer is loaded, it will paint it out from the top to the bottom as it is loaded in over the network.

Unfortunately, this is not the behavior of the BitmapLayer in DeckGL. The layer is not shown at all until the full image is loaded in, which can take anywhere from a few seconds, to many minutes, depending on the network.

Proposal

This may actually be a part of the loaders API, but having a way to progressively load images will make it much more self-explanatory that something is happening and the user needs to wait, rather than writing some custom loading indicator for the image layer.

@charlieforward9
Copy link
Author

This is a lower priority item for our team in the long term as we plan to migrate all of our imagery to a tile server , but until we manage to execute that, it would be nice to have the Leaflet-like behavior with the images and see the BitmapLayer/ImageLoader API boost its capabilities

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

No branches or pull requests

1 participant