ben-xD / deckgl-nebulagl-maplibre-react-reproduce

Reproducing an error when using EditableGeojsonLayer in RotateMode with DeckGL and MapLibre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uses maplibre + deck.gl + nebula.gl

This repo reproduces some errors/issues I faced using deck.gl, nebula.gl and maplibre.

Usage

  • install pnpm (if not installed): npm install --global pnpm
  • install dependencies: run pnpm i
  • start dev server and open provided url in browser: pnpm dev

Some learnings

  • Either use deck.gl or @deck.gl/* packages. deck.gl has all of them. Same of nebula.gl. See maplibre/maplibre-gl-js#2834 (comment)
    • I couldn't find the TS types for deck.gl stuff from deck.gl though
  • there were conflicts with using @deck.gl/*/typed vs "@danmarshall/deckgl-typings": "^4.9.28", types

About

Reproducing an error when using EditableGeojsonLayer in RotateMode with DeckGL and MapLibre


Languages

Language:TypeScript 89.5%Language:JavaScript 6.2%Language:HTML 3.3%Language:CSS 1.0%