nebula.gl provides editable and interactive map overlay layers, built using the power of deck.gl.
nebula.gl aspires to be an ultra-performant, fully 3D-enabled GeoJSON editing system primarily focused on geospatial editing use cases.
MultiPolygonwhen addition polygons are added.
You should strongly consider nebula.gl:
You may want to look at alternatives if:
deck.glin your project.
If nebula.gl is more than what you need (e.g. in terms of bundle size), and you may want to look at other solutions, e.g. the simple polygon editor overlay being developed in react-map-gl.
That said, if you are already using
deck.gl the additional overhead of nebula.gl is small, and the seamless integration with deck.gl should be valuable.
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.
When there is the ability to edit, callbacks are provided to inform you of edits.
The overlay layers are based on HTML and rendered by the browser. You can use them for complicated objects that follow map points. They are less performant but more flexible. For more details see Using Html Overlays