Summary
Some features in py-maplibregl require external CDN resources at runtime, which may not work in air-gapped or restricted network environments (common in enterprise/government organizations).
Current CDN Dependencies
When using certain features, the following are loaded from CDN:
Deck.GL integration (add_deck_layers):
- h3-js from unpkg.com
- deck.gl from unpkg.com
- @deck.gl/json from unpkg.com
MapboxDraw integration (add_mapbox_draw):
- mapbox-gl-draw JS from unpkg.com
- mapbox-gl-draw CSS from unpkg.com
Question for Discussion
Would it be useful to bundle these dependencies for offline usage, similar to how the RTL text plugin was recently bundled in PR #159?
This would increase the package size but enable full offline functionality for users in restricted network environments.
Interested to hear your thoughts on this.
Summary
Some features in py-maplibregl require external CDN resources at runtime, which may not work in air-gapped or restricted network environments (common in enterprise/government organizations).
Current CDN Dependencies
When using certain features, the following are loaded from CDN:
Deck.GL integration (
add_deck_layers):MapboxDraw integration (
add_mapbox_draw):Question for Discussion
Would it be useful to bundle these dependencies for offline usage, similar to how the RTL text plugin was recently bundled in PR #159?
This would increase the package size but enable full offline functionality for users in restricted network environments.
Interested to hear your thoughts on this.