【问题标题】:Using Mapbox GL JS 2.x offline, using self hosted tiles离线使用 Mapbox GL JS 2.x,使用自托管瓦片
【发布时间】:2021-06-21 15:59:29
【问题描述】:

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

【问题讨论】:

    标签: mapbox mapbox-gl-js openmaptiles


    【解决方案1】:

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

    感谢您与我们联系! Mapbox GL JS 没有 此时离线模式。需要互联网连接。我们的确是 我们的移动 SDK 提供离线功能。你可以 在此处查看离线选项 - https://docs.mapbox.com/help/troubleshooting/mobile-offline/

    【讨论】:

    • 哦,这很糟糕!有可能吗?
    • @BastianonMassimo 你必须将 Mapbox GL 降级到版本 1.13.0,它仍然支持离线使用。或使用 Mapbox GL 1.x 分支之一(如github.com/maplibre/maplibre-gl-js
    • @Wolkenarchitekt 我希望现在 MapLibre 已经成为“分支”,有很多社区和大公司的参与 :)
    猜你喜欢
    • 2019-11-19
    • 2015-04-04
    • 1970-01-01
    • 2021-01-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-24
    • 1970-01-01
    相关资源
    最近更新 更多