You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for .pmtiles in mediaExtensions within WebViewAssetHandler is needed to enable proper functionality of offline maps in Capacitor. Without this support, byte range requests (HTTP 206 Partial Content) required by PMTiles fail, resulting in errors when accessing bundled assets.
Platforms
iOS
Android
Web
Request or proposed solution
The feature involves adding .pmtiles to the list of supported extensions (mediaExtensions) in WebViewAssetHandler. This change ensures that .pmtiles assets can handle HTTP 206 Partial Content responses correctly.
An example project demonstrating the issue and validating the fix is available here: capacitor-pmtiles. Additionally, there is an existing pull request (#7663) that implements this fix.
This support is critical for applications using PMTiles for offline vector map tilesets.
Alternatives
No response
Additional Information
This request is a follow-up to the closed issue #7664, which was closed due to a lack of an example project. The example project linked above addresses this and provides a clear demonstration of the need for this feature.
Thank you for considering this important enhancement!
The text was updated successfully, but these errors were encountered:
Description
Support for .pmtiles in mediaExtensions within WebViewAssetHandler is needed to enable proper functionality of offline maps in Capacitor. Without this support, byte range requests (HTTP 206 Partial Content) required by PMTiles fail, resulting in errors when accessing bundled assets.
Platforms
Request or proposed solution
The feature involves adding .pmtiles to the list of supported extensions (mediaExtensions) in WebViewAssetHandler. This change ensures that .pmtiles assets can handle HTTP 206 Partial Content responses correctly.
An example project demonstrating the issue and validating the fix is available here: capacitor-pmtiles. Additionally, there is an existing pull request (#7663) that implements this fix.
This support is critical for applications using PMTiles for offline vector map tilesets.
Alternatives
No response
Additional Information
This request is a follow-up to the closed issue #7664, which was closed due to a lack of an example project. The example project linked above addresses this and provides a clear demonstration of the need for this feature.
Thank you for considering this important enhancement!
The text was updated successfully, but these errors were encountered: