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