当前位置:网站首页>69 Cesium代码datasource加载geojson
69 Cesium代码datasource加载geojson
2022-07-01 05:58:00 【挣钱花388】

<template>
<div id="container"></div>
</template>
<script>
import * as Cesium from "cesium/Cesium";
import "cesium/Widgets/widgets.css";
export default {
name: "geojson",
data() {
return {};
},
mounted() {
let viewer = this.init();
this.addGeoJsonDataSource(viewer);
},
methods: {
//--start-#初始化cesium的各种配置加载#-->
init() {
let viewer = new Cesium.Viewer("container", {
//--start-#动画#-->
animation: false,
//--start-#底图选择器#-->
baseLayerPicker: false,
//--start-#全屏按钮#-->
fullscreenButton: false,
//--start-#地理位置查询#-->
geocoder: false,
//--start-#主视图按钮#-->
homeButton: true,
//--start-#信息盒框#-->
infoB边栏推荐
- jdbc 数据库操作
- HCM 初学 ( 四 ) - 时间
- SystemVerilog学习-07-类的继承和包的使用
- π盘,让您电脑变成个人的私有云
- 论文学习记录随笔 多标签之LIFT
- Looking for high school student developers with similar interests
- What if the data in the cloud disk is harmonious?
- ONEFLOW source code parsing: automatic inference of operator signature
- π disk, turning your computer into a personal private cloud
- [QT] QT after addition, subtraction, multiplication and division, two decimal places are reserved
猜你喜欢

【文件系统】如何在ubi之上运行squashfs

Geoffrey Hinton: my 50 years of in-depth study and Research on mental skills

Crossing pie · pie pan + Mountain duck = local data management

这才是大学生必备软件 | 知识管理

PLA不粘贴在床上:6个简单的解决方案

MySQL converts milliseconds to time string

It's not that you have a bad mind, but that you haven't found the right tool

Preliminary level of C language -- selected good questions on niuke.com

uniapp树形层级选择器

How to add a gourd pie plate
随机推荐
Multi label lsml for essay learning records
Excel dynamic chart
Ucosiii --- engineering transplantation
我从技术到产品经理的几点体会
TIDB数据库特性总结
Oracle sequence + trigger
PLA不粘貼在床上:6個簡單的解决方案
Call us special providers of personal cloud services for College Students
Servlet
这才是大学生必备软件 | 知识管理
CJC8988带2个立体声耳机驱动器的低功率立体声编解码器
健康照明中应用的LED照明灯
Why use huluer pie disk instead of U disk?
Advanced cross platform application development (II): uni app practice
Pla ne colle pas sur le lit: 6 solutions simples
2022 年面向初学者的 10 大免费 3D 建模软件
表格中el-tooltip 实现换行展示
Small guide for rapid completion of mechanical arm (VI): stepping motor driver
linux 关闭redis 进程 systemd+
OpenGL ES: (4) EGL API详解 (转)