地图
我是梅长苏
qq-837543308
展开
-
cesium编译No gulpfile found,Error: Not supported,no such file or directory, open ‘Apps\.jshintrc‘
1、报错No gulpfile found直接将gulpfile.cjs改成gulpfile.js2、报错Not supported,no such file or directory, open ‘Apps.jshintrc’下载放到相应的目录Apps/.jshintrc,Apps/Sandcastle/.jshintrc3、报错npm run release,Error: Command failed: npx jsdoc --configure Tools/jsdoc/ts-conf.js原创 2021-05-10 23:22:29 · 2218 阅读 · 0 评论 -
PhotoSphereViewer回调函数,PhotoSphereViewer第一张图片加载完成回调函数,PhotoSphereViewer加载完成回调函数
var psv =newPhotoSphereViewer({container: "id", panorama:imgUrl,}) psv.on("ready",function(){console.log(“加载完成”)})...原创 2021-01-30 22:43:33 · 732 阅读 · 0 评论 -
google map谷歌地图瓦片地址无偏移矢量地图电子地图影像地图
前几天做谷歌地图踩大坑,目前网上很多文字的瓦片地址是可以访问但,矢量地图有偏移,你将矢量地图和影像地图同时加载出来就会发现两个地图不能完全的重合,而且连标注都没有和地图重合。那是因为矢量地图做了偏移影像地图未做偏移。我找了很久想要找矫正偏移的方法,发现不好矫正,网上很多方法都过时了,无意中发现了新的瓦片地址,没有偏移的直接可用。矢量影像完全重合。Google瓦片地图URLhttps://mt3.google.cn/vt?lyrs=y&v=883&hl=zh-CN&gl=CN&am原创 2020-12-11 15:06:01 · 2445 阅读 · 3 评论 -
cesium.js地图加载完成事件,地图加载完成后回调,cesium.js地图每次加载矢量切片完成的回调。亲测可用!
var helper = new Cesium.EventHelper();helper.add(viewer.scene.globe.tileLoadProgressEvent, function (event) {console.log("Tiles to load: " + event);if (event == 0) {//loading screen display=none}});原创 2020-07-04 22:25:09 · 4781 阅读 · 1 评论