Skip to content

https协议的sdk访问不了 #16

Answered by muyao1987
zouyaoji asked this question in Q&A
Discussion options

You must be logged in to vote

不好意思,https因为很多用户经常出问题,访问示例时无法加载非https的数据。所以我们暂时停用了https协议。

可以参考教程 http://mars3d.cn/dev/guide/start/download.html 改为访问第3方CDN地址。

请您分别改为

<!--引入cesium基础lib-->
<link href="https://unpkg.com/mars3d-cesium/Build/Cesium/Widgets/widgets.css" rel="stylesheet" type="text/css" />
<script src="https://unpkg.com/mars3d-cesium/Build/Cesium/Cesium.js" type="text/javascript" ></script>
<script src="https://unpkg.com/@turf/turf/turf.min.js" type="text/javascript" ></script>

<!--引入mars3d库lib-->
<link href="https://unpkg.com/mars3d/dist/mars3d.css" rel="stylesheet" type="text/css" />
<script src="https://unpkg.com/mars3d/dist/mars3d.js" type="text/javascript" ></script>

带来不便,敬请谅解

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by muyao1987
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants