cesium_dev_kit

English | ä¸ć
Introduction
âThis is a Cesium development kit that includes functionalities such as layer loading, coordinate conversion, coordinate picking, camera control, measurement, plotting, model loading and manipulation (translation, rotation scaling), 3Dtiles view position adjustment, weather effects (rain, snow, fog), scene rendering with radar scan and information box display capabilities. It also provides features for flow line visualization, lighting effects including dynamic wall and other luminous materials rendering.
Additionally it supports Post effects, visibility analysis tools for perspective analysis and slope analysis. Furthermore it offers Inundation analysis as well as volume analysis capabilities and terrain excavation functionality.
Features
material | analysis | plot |
 |  |  |
dynamicRiver | extrude | effect |
 |  |  |
radar | roaming | drag |
 |  |  |
rayCast | fireworksEffect | aniSoldier |
 |  | |
pathPlan | customPrimitive | |
More>>
Install
npm install cesium_dev_kit
Use
1ăImport all
The initialization of 'initCesium' allows for the acquisition of all extension modules.
import { initCesium } from 'cesium_dev_kit'
var myViewer = new Cesium.Viewer('cesiumContainer', {
animation: false,
homeButton: false,
geocoder: false,
baseLayerPicker: false,
timeline: false,
fullscreenButton: true,
scene3DOnly: false,
infoBox: false,
sceneModePicker: false,
navigationInstructionsInitiallyVisible: false,
navigationHelpButton: false,
selectionIndicator: false
});
const { viewer, material, ... } = new initCesium({
cesiumGlobal: Cesium,
containerId: 'cesiumContainer',
viewer: myViewer,
...})
2ăImport on demand
The import of a single extension class can be tailored to meet specific functional requirements, thereby minimizing code redundancy.
import {Graphics} from 'cesium_dev_kit'
var myViewer = new Cesium.Viewer('cesiumContainer', {
animation: false,
homeButton: false,
geocoder: false,
baseLayerPicker: false,
timeline: false,
fullscreenButton: true,
scene3DOnly: false,
infoBox: false,
sceneModePicker: false,
navigationInstructionsInitiallyVisible: false,
navigationHelpButton: false,
selectionIndicator: false
});
const {viewer,graphics} = new Graphics({
cesiumGlobal: Cesium,
viewer: myViewer
})
graphics.getPointGraphics({
color:Cesium.Color.GREEN,
pixelSize:5,
outlineColor:Cesium.Color.WHITE,
outlineWidth:1
})
Used in h5
- Import index.umd.js directly into html
<script type="text/javascript" src="index.umd.js"></script>
new cesium_dev_kit.initCesium({...})
See API documentation :bookmark_tabs: (Cheap server, please be patient) for more details...
Use example
Donate
Do you use and like cesium_dev_kit but you donât find a way to show some love? If yes, please consider donating to support this project. Otherwise, no worries, regardless of whether there is support or not, I will keep maintaining this project. Still, if you buy me a cup of coffee I would be more than happy thoughđ
-

-
WeChat / AliPay
Browser support
The 'Chrome 80+' browser is recommended for local development
Modern browsers (chrome, Firefox, Microsoft edge, etc.) are supported. Internet Explorer is not supported
Thanks
cesium-d3kit
drawarrowforcesium
vue3-ts-cesium-map-show
This project includes but is not limited to the reference and reference of the above materials, thank you very much for sharing
Project deficiency and optimization
- 1ăExtended classes not using type detection (TS)
- 2ăNo exception catching and handling
How to contribute
This project exists thanks to all the people who contribute.
- If you want to contribute, you can Raise an issue Or submit a Pull Request.
See CONTRIBUTING for more details on donations...
Star
I am grateful to the generous individuals who awarded me these little stars, thank you for your support :heart:

Fork
@sincelyă@ooil929
ă @InPandaă luyufanzhi
ăAllenChiangCNăLiquid-Zhangliquan
... thank you for your attention :heart:
