All Projects → uber → Nebula.gl

uber / Nebula.gl

Licence: other
A suite of 3D-enabled data editing overlays, suitable for deck.gl

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Nebula.gl

React Map Gl
React friendly API wrapper around MapboxGL JS
Stars: ✭ 6,244 (+1534.55%)
Mutual labels:  uber, webgl
Deck.gl
WebGL2 powered visualization framework
Stars: ✭ 9,304 (+2335.6%)
Mutual labels:  uber, webgl
Luma.gl
High-performance Toolkit for WebGL-based Data Visualization
Stars: ✭ 1,928 (+404.71%)
Mutual labels:  uber, webgl
Graphosaurus
3D graph viewer powered by WebGL (three.js)
Stars: ✭ 340 (-10.99%)
Mutual labels:  webgl
Aladino
🧞‍♂️ Your magic WebGL carpet
Stars: ✭ 225 (-41.1%)
Mutual labels:  webgl
Webgl2examples
Rendering algorithms implemented in raw WebGL 2.
Stars: ✭ 353 (-7.59%)
Mutual labels:  webgl
Veda
⚡VJ / Live Coding on Atom⚡
Stars: ✭ 373 (-2.36%)
Mutual labels:  webgl
Vehicle In Motion
This is a basic implementation of location listener using Google Maps Api
Stars: ✭ 339 (-11.26%)
Mutual labels:  uber
Libretaxi
Open source Uber #deleteuber
Stars: ✭ 3,687 (+865.18%)
Mutual labels:  uber
Egret Core
Egret is a brand new open mobile game and application engine which allows you to quickly build mobile games and apps on Android,iOS and Windows.
Stars: ✭ 3,631 (+850.52%)
Mutual labels:  webgl
Terra
WebGL grass on a terrain
Stars: ✭ 351 (-8.12%)
Mutual labels:  webgl
Wireframe World
An infinite wireframe world in WebGL
Stars: ✭ 347 (-9.16%)
Mutual labels:  webgl
Taro
A lightweight 3D game engine for the web.
Stars: ✭ 345 (-9.69%)
Mutual labels:  webgl
Unrust
unrust - A pure rust based (webgl 2.0 / native) game engine
Stars: ✭ 341 (-10.73%)
Mutual labels:  webgl
Troika
A JavaScript framework for interactive 3D and 2D visualizations
Stars: ✭ 342 (-10.47%)
Mutual labels:  webgl
Grimoirejs
A WebGL framework for Web development.
Stars: ✭ 339 (-11.26%)
Mutual labels:  webgl
H3 Py
Python bindings for H3, a hierarchical hexagonal geospatial indexing system
Stars: ✭ 354 (-7.33%)
Mutual labels:  uber
Plasio
Drag-n-drop In-browser LAS/LAZ point cloud viewer. http://plas.io
Stars: ✭ 349 (-8.64%)
Mutual labels:  webgl
Infinitetubes
A tunnel experiment in WebGL inspired by the effect seen on http://www.fornasetti.com/](Fornasetti.
Stars: ✭ 348 (-8.9%)
Mutual labels:  webgl
Balena Wpe
Fullscreen WebKit browser with hardware accelerated CSS, WebGL, and HTML5 video for the RaspberryPi 3.
Stars: ✭ 353 (-7.59%)
Mutual labels:  webgl

version version

version version version

build coveralls

nebula.gl | Website

An editing framework for deck.gl

docs

nebula.gl provides editable and interactive map overlay layers, built using the power of deck.gl.

Getting started

Running the example

  1. git clone [email protected]:uber/nebula.gl.git
  2. cd nebula.gl
  3. yarn
  4. cd examples/advanced
  5. yarn
  6. export MapboxAccessToken='<Add your key>'
  7. yarn start-local
  8. You can now view and edit geometry.

Installation

yarn add @nebula.gl/layers
yarn add @nebula.gl/overlays
yarn add @deck.gl/core
yarn add @deck.gl/react
yarn add @deck.gl/layers

EditableGeoJsonLayer

EditableGeoJsonLayer is implemented as a deck.gl layer. It provides the ability to view and edit multiple types of geometry formatted as GeoJSON (an open standard format for geometry) including polygons, lines, and points.

import DeckGL from '@deck.gl/react';
import { EditableGeoJsonLayer, DrawPolygonMode } from 'nebula.gl';

const myFeatureCollection = {
  type: 'FeatureCollection',
  features: [
    /* insert features here */
  ],
};

const selectedFeatureIndexes = [];

class App extends React.Component {
  state = {
    data: myFeatureCollection,
  };

  render() {
    const layer = new EditableGeoJsonLayer({
      id: 'geojson-layer',
      data: this.state.data,
      mode: DrawPolygonMode,
      selectedFeatureIndexes,

      onEdit: ({ updatedData }) => {
        this.setState({
          data: updatedData,
        });
      },
    });

    return <DeckGL {...this.props.viewport} layers={[layer]} />;
  }
}

Useful examples (Codesandbox)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].