首页 文章

如何在离线模式下操作OSM-Carto

提问于
浏览
0

我在在线模式下运行了这个OSM-Carto(https://github.com/gravitystorm/openstreetmap-carto) . 在此OSM-Carto中,磁贴在此项目文件中使用在线“ https://... " links to display maps in local host. I have designed my tiles (covering specific area of the map) and the tiles Link is displayed from my file desired file-path like " file:///... " Where should the changes be placed by replacing the " https " link to my " filepath” . 我已经对Kosmtik进行了概述,但仍然没有想到它 . 请指导我在离线模式下运行OSM-Carto . 提前致谢

1 回答

  • 0

    这是一个非常古老的example使用Leaflet . 如果磁贴位于本地文件系统上,则可以使用本地文件系统访问来引用它们 . 如何在您的情况下执行此操作可能取决于您放置文件的操作系统 . 在示例中,没有文件前缀的路径在同一个包中;前缀为"file://"的那些可以通过本地文件系统访问 . 实际文件系统路径会有所不同;这个例子是针对Blackberry QNX的 .

相关问题