Giter Club home page Giter Club logo

dde-earth's Introduction

dde-earth

Plugin based DDE(deep-time-digital-earth) earth sdk

✨ Introduction

With just one line of code, you can save a lot of packaging work for cesium in your project and immediately have the following incredible features:

  • Lightweight (core package gzip compressed to only 3.9kb)
  • Supports rapid expansion of earth capabilities through plugins
  • Supports TypeScript
  • Supports multiple languages
  • Layer management
  • Terrain management
  • Built-in event subscription (layer addition, layer removal, layer rendering, language switch, terrain switch…)
  • Layer operations (zoom, render)

In addition, the official provides a wealth of plugins to choose from:

  • Mouse event subscription
  • Layer order swap
  • Basic layer loading (tms, wmts, wms, arcgis)
  • GeoJson loading and rendering
  • Mapbox vector tile loading and rendering
  • NetCDF loading and rendering
  • TIFF loading and rendering
  • Navigation tools

And more.

📖 Quick Start

import { TIFFLayerLoader } from "@dde-earth/plugin-tiff-loader";
import { Earth } from "dde-earth";

const earth = new Earth("container");

// Use plugin, load tiff
earth.usePlugin(new TIFFLayerLoader());

earth.addLayer({
  url: "./tiff.tiff",
  method: "tiff",
  renderOptions: {
    single: {
      colorScale: "rainbow",
    },
  },
});

In this example, after initializing the earth in one line of code, by adding the TIFFLayerLoader plugin, the earth has the ability to load tiff.

The complete TypeScript mechanism makes dde-earth have intelligent code hints. Developers will find that they have a tiff type layer when they call the addLayer method.


View full documentation and examples on doc.dde-earth.com.

License

MIT License

dde-earth's People

Contributors

hongfaqiu avatar rogerwqh avatar github-actions[bot] avatar bili-sakura avatar

Stargazers

 avatar  avatar  avatar

dde-earth's Issues

Complete the document

没有心力补全文档😭
已经三年没涨薪,三个月没发工资了🥲

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.