摘要: // 加载新地图 var esri = new Cesium.ArcGisMapServerImageryProvider({ url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", }) 阅读全文
posted @ 2022-11-07 10:19 菜鸟程序员的总结 阅读(259) 评论(0) 推荐(0) 编辑
摘要: <template> <div style="height: 100%; width: 100%; position: relative;"> <el-button v-if="playText !=''" style="position: absolute;top: 0;right: 0;left 阅读全文
posted @ 2022-10-24 10:10 菜鸟程序员的总结 阅读(607) 评论(0) 推荐(0) 编辑
摘要: <template> <div style="height: 100%; width: 100%; position: relative;"> <el-button v-if="playText !=''" style="position: absolute;top: 0;right: 0;left 阅读全文
posted @ 2022-10-24 10:04 菜鸟程序员的总结 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Cesium 相机包括:setView flyTo lookAt viewBoundingSphere Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxN2U5YjQ4Mi0yMzBj 阅读全文
posted @ 2022-10-18 10:29 菜鸟程序员的总结 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 方法一 /* 通过css控制组件显隐及位置 */ .cesium-viewer-toolbar, /*右上角按钮*/ .cesium-viewer-animationContainer,/*左下角动画控件*/ .cesium-viewer-timelineContainer,/*时间线*/ .ces 阅读全文
posted @ 2022-09-27 10:21 菜鸟程序员的总结 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 1.header中需要添加的 <% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %> <% } %> 2.body中需要添加的 <% for (let i in htmlWebpa 阅读全文
posted @ 2022-06-15 16:55 菜鸟程序员的总结 阅读(1236) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="in 阅读全文
posted @ 2022-02-24 13:39 菜鸟程序员的总结 阅读(2236) 评论(0) 推荐(0) 编辑
摘要: 网上看来好多从ctx结构出来的写法都不好用,唯有上边的这种本人亲测有效 阅读全文
posted @ 2022-02-15 09:26 菜鸟程序员的总结 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-09-13 09:43 菜鸟程序员的总结 阅读(2151) 评论(0) 推荐(0) 编辑
摘要: <div id="map" style="position: relative; width: 5.95rem; height: 5rem; padding: 0px; margin: 0px; border-width: 0px; cursor: default;"></div> // impor 阅读全文
posted @ 2021-08-12 17:10 菜鸟程序员的总结 阅读(1753) 评论(0) 推荐(0) 编辑