JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 180
  • Score
    100M100P100Q82478F
  • License MIT

Package Exports

  • @krazyphish/earth
  • @krazyphish/earth/style.css

Readme

@krazyphish/earth

A simpler module for GIS based on cesium.

Before start

Before start using this module, install packages blow manually: cesium.

Then install this module:

npm install @krazyphish/earth

Get 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()