摘要: import * as Cesium from 'cesium'; /** * 天地图工具类 - 封装天地图相关操作 */ export class TdMapUtil { /** * 构造函数 * @param {Object} options 配置选项 * @param {string} opt 阅读全文
posted @ 2025-11-13 11:01 菜鸟程序员的总结 阅读(14) 评论(0) 推荐(0)
摘要: // 加载新地图 var esri = new Cesium.ArcGisMapServerImageryProvider({ url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", }) 阅读全文
posted @ 2022-11-07 10:19 菜鸟程序员的总结 阅读(403) 评论(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 菜鸟程序员的总结 阅读(1021) 评论(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 菜鸟程序员的总结 阅读(684) 评论(0) 推荐(0)
摘要: Cesium 相机包括:setView flyTo lookAt viewBoundingSphere Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxN2U5YjQ4Mi0yMzBj 阅读全文
posted @ 2022-10-18 10:28 菜鸟程序员的总结 阅读(371) 评论(0) 推荐(0)
摘要: 方法一 /* 通过css控制组件显隐及位置 */ .cesium-viewer-toolbar, /*右上角按钮*/ .cesium-viewer-animationContainer,/*左下角动画控件*/ .cesium-viewer-timelineContainer,/*时间线*/ .ces 阅读全文
posted @ 2022-09-27 10:20 菜鸟程序员的总结 阅读(844) 评论(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 菜鸟程序员的总结 阅读(1481) 评论(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 菜鸟程序员的总结 阅读(3280) 评论(0) 推荐(0)
摘要: 网上看来好多从ctx结构出来的写法都不好用,唯有上边的这种本人亲测有效 阅读全文
posted @ 2022-02-15 09:26 菜鸟程序员的总结 阅读(185) 评论(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 菜鸟程序员的总结 阅读(2225) 评论(0) 推荐(0)