uber / nebula.gl

A suite of 3D-enabled data editing overlays, suitable for deck.gl
https://nebula.gl/
Other
689 stars 165 forks source link

add example nextjs-react18-editor-sample #881

Closed Euraxluo closed 1 year ago

Euraxluo commented 1 year ago

Hello! I'm excited to contribute to the nebula.gl project. In this PR, I have added an example showcasing the usage of nebula.gl in React 18 and Next.js.

Main Changes:

  1. Added a new folder:[examples/nextjs-react18-editor-sample] in the project to hold the example for using nebula.gl in React 18 and Next.js.
  2. Introduced a new React 18 component that utilizes the nebula.gl library for geospatial data visualization.
  3. Included necessary configurations and dependencies to ensure smooth integration of nebula.gl in React 18 and Next.js projects.

This example will make it easier for React 18 and Next.js developers to integrate and utilize the nebula.gl library. I believe it will enhance the accessibility and appeal of nebula.gl.

Please review my changes and provide any feedback or suggestions. Thank you for your time and review!

Best regards, Euraxluo

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

Euraxluo commented 1 year ago

@igorDykhta plz review

Euraxluo commented 1 year ago

in https://github.com/Euraxluo/next-deckgl-example ,i add a draw use nebual.gl case ,deploy on vercel:https://next-deckgl-example.vercel.app/draw

Euraxluo commented 1 year ago

I can put it in codesandbox.io. Then link it to the document

Euraxluo commented 1 year ago

codesandbox: https://codesandbox.io/p/sandbox/github/Euraxluo/nebula.gl/tree/master/examples/nextjs-react18-editor-sample