Coder Social home page Coder Social logo

Comments (2)

muyao1987 avatar muyao1987 commented on June 12, 2024

参考示例:http://mars3d.cn/editor-vue.html?id=layer-tile/online/baidu

{
"pid": 10,
"name": "百度电子",
"icon": "http://localhost:9990/static/images/basemaps/bd_vec.png",
"type": "baidu",
"url": "http://localhost:9990/maps/baidu/vec/{z}/{x}/{y}.png",
"minimumLevel": 3,
"maximumLevel": 19
}

from mars3d.

ideazoom avatar ideazoom commented on June 12, 2024

参考示例:http://mars3d.cn/editor-vue.html?id=layer-tile/online/baidu

{
"pid": 10,
"name": "百度电子",
"icon": "http://localhost:9990/static/images/basemaps/bd_vec.png",
"type": "baidu",
"url": "http://localhost:9990/maps/baidu/vec/{z}/{x}/{y}.png",
"minimumLevel": 3,
"maximumLevel": 19
}

修正如下:
{
"pid": 10,
"name": "百度电子",
"icon": "http://localhost:9990/static/images/basemaps/bd_vec.png",
"type": "baidu",
"url": "http://localhost:9990/maps/baidu/vec/NanJing/{z}/{x}/{y}.png"
}

还是加载不出来。
离线地图是用水经注软件下载并按官方文档导出的瓦片数据

Mars3D
版 本 号:3.1.11 Cesium版本:1.84
编译日期:2021-11-07 14:54:49

虽然版本有些老,希望在不升级的情况下能解决此问题。

from mars3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.