离线使用 Mapbox GL JS 2.x,使用自托管磁贴

Using Mapbox GL JS 2.x offline, using self hosted tiles

是否可以完全离线使用 Mapbox GL JS 2.x,使用自托管图块(例如 openmaptiles)?

无法离线使用 Mapbox GL JS - 从 mapbox 支持收到的答复:

Thanks for reaching out! Mapbox GL JS doesn't have a concept of offline mode at this time. An internet connection is required. We do have offline functionality available with our mobile SDKs. You can check out the offline options here - https://docs.mapbox.com/help/troubleshooting/mobile-offline/