maplibre-gl-js
maplibre-gl-js copied to clipboard
Show Placeholder Grid in background
User Story
As an end-user I can see grid placeholder as map get renders, so that I have better user experience while map is still get loading.
Rationale
- Why is this feature needed? Better user experience
- What are some example use cases? any map loading
- Can it be done today? Is there a workaround? none
Impact
Can you clarify the ask here? From what you wrote it seems like it should be possible to place a canvas and draw a grid behind the map so that when the map loads the lower canvas gets hidden.
https://github.com/wipfli/background-grid
@HarelM
Thanks for the prompt reply. Something like @wipfli mentioned in their post. It would be great if it were natively available in maplibre-gl-js
It's up to the developer/PO/PM to define the behavior of the background. I'm not sure this specific case is something that is relevant to most use case. You can also create a plugin that allows this and see how many people download it, if it gets too a critical mass we can consider incorporating it into this library.