当前位置:网站首页>Cesium-1.72 learning (China national boundary)
Cesium-1.72 learning (China national boundary)
2022-06-30 17:10:00 【Eternal wolf tooth】
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Quick start Boundary line of China </title>
<link rel="stylesheet" href="/Cesium-1.72/Build/Cesium/Widgets/widgets.css">
<script src="/Cesium-1.72/Build/Cesium/Cesium.js"></script>
</head>
<body>
<div style="width:1500px;height:700px;">
<div id="cesiumContainer" style="width:100%;height:100%;"></div>
</div>
</body>
</html>
<script> Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxMTdmMTdmNS00NzZhLTQwOGMtODQwYy1kZjAyMzNiOTg0ZTYiLCJpZCI6MzMwMjQsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1OTc4OTE3ODl9.yqF540oYBpSme38SIPKUP4t14FA6hXCLFHnvOqPf_Fw'; var viewer = new Cesium.Viewer('cesiumContainer', {
geocoder:false, // A geographic location search tool , Used to display the geographic location accessed by the camera . The default is Microsoft Bing Map . homeButton:true, // Home page location , Click to jump to the default view . sceneModePicker:true, // Switch 2D、3D and Columbus View (CV) Pattern . baseLayerPicker:false, // Select the base map of 3D digital earth (imagery and terrain). navigationHelpButton:true, // Help tips , How to operate digital earth . animation:false,// Control the playback speed of window animation . creditsDisplay:false, // Display trademark copyright and data sources . timeline:false, // Show the current time and allow the user to drag to any specified time on the progress bar . fullscreenButton:true, // Check the full screen button , terrainProvider: Cesium.createWorldTerrain()// terrain }); viewer.scene.globe.enableLighting = true;// Enable the earth with the sun as the light source //var datasource = viewer.dataSources.add(Cesium.GeoJsonDataSource.load("https://geo.datav.aliyun.com/areas_v2/bound/100000.json")); var datasource = viewer.dataSources.add(Cesium.GeoJsonDataSource.load("https://geo.datav.aliyun.com/areas_v2/bound/100000_full.json")); viewer.zoomTo(datasource); </script>

Get from this site josn:http://datav.aliyun.com/tools/atlas
Case code :https://github.com/zhangxuhui1992/cesium
边栏推荐
- Consolidate entry-C basic variables and constants
- addmodule_allmerge_ams_im
- 几个跨端开发神器
- CMakeLists 基础
- Eight basic sorting (detailed explanation)
- Substrate 跨链技术源码级探索: XCVM的概览
- Etcd教程 — 第九章 Etcd之实现分布式锁
- Wechat emoticons are written into the judgment, and the OK and bomb you send may become "testimony in court"
- [activity registration] it's your turn to explore the yuan universe! I will be waiting for you in Shenzhen on July 2!
- addmodule_ allmerge_ ams_ im
猜你喜欢

商单视频播放超2000万!农院改造为何屡被催更?

HMS core audio editing service 3D audio technology helps create an immersive auditory feast

Tutoriel etcd - chapitre 8 API compacte, Watch et lease pour etcd

Property or method “approval1“ is not defined on the instance but referenced during render

HMS Core音频编辑服务3D音频技术,助力打造沉浸式听觉盛宴

八大基本排序(详解)

Etcd教程 — 第八章 Etcd之Compact、Watch和Lease API
![[Verilog quick start of Niuke online question series] ~ bit splitting and operation](/img/17/4b8f5607c4cba1596435233a6cf30a.png)
[Verilog quick start of Niuke online question series] ~ bit splitting and operation

互联网研发效能实践之去哪儿网(Qunar)核心领域DevOps落地实践

AcWing 第 57 场周赛
随机推荐
MC Instruction Decoder
[wechat applet] basic use of common components (view/scroll-view/wiper, text/rich-text, button/image)
Jsr303 and common validator implementations
Construction schedule of intelligent management and control platform in Shanxi Chemical Industry Park
register_ Chrdev and CDEV_ init cdev_ Add usage differences
Lambda表达式_Stream流_File类
24: Chapter 3: develop pass service: 7: user defined exceptions (to represent errors in the program); Create graceexceptionhandler to handle exceptions globally and uniformly (build JSON data of corre
Niuke.com: minimum cost of climbing stairs
js 从原型链到继承
Implementation of aut, a self-developed transport layer protocol for sound network -- dev for dev column
Rong Lianyun launched rphone based on Tongxin UOS to create a new ecology of localization contact center
9: Chapter 3: e-commerce engineering analysis: 4: [general module]; (to be written...)
Redis data structure analysis
基于SSM实现毕业设计管理系统
simpleITK读取nii遇到ITK only supports orthonormal direction cosines的错误
CGR 21 (D,E,F)
Go micro tutorial - Chapter 1 getting started
八大基本排序(详解)
Restartprocessifvisible process
More than 20million videos have been played in the business list! Why is the reform of Agricultural Academies urged repeatedly?