@anstec/earth
v2.5.5
Published
A simpler module for GIS based on [cesium](https://www.npmjs.com/package/cesium), [turf](https://www.npmjs.com/package/@turf/turf).
Downloads
21
Readme
@anstec/earth
A simpler module for GIS based on cesium, turf.
Before start
Before start using this module, install packages blow manually: cesium, echarts.
Then install this module:
npm install @anstec/earthGet started
<div id="GisContainer" class="relative w-full h-full"></div>// in your main.ts or main.tsx
// import the style sheet
import "@anstec/earth/dist/style.css"// in your map module, when initializing the cesium viewer
import { type Earth, createEarth } from "@anstec/earth"
const earth: Earth = createEarth()