geospatialdraw
v0.4.13
Published
Geospatial Map Drawing Library
Downloads
1,366
Readme
GeospatialDraw
Geospatial map drawing library
Library of tools to draw and edit geometric shapes on a map.
Note To enable links run yarn docs
Packages
geometry
: GeospatialDraw extends GeoJSON to communicate geometric shapes by adding properties to Feature
JSON objects. That format is defined in the geometry package.
- Geometry
- Utilities
- Units
- Shape Factory
shapes : The GeospatialDraw GeoJSON format only supports a limited set of geometric shapes. To aid in identifying the correct geometric shape a shape detector is provided in the shapes package.
coordinates : In addition to drawing geometries on the map GeospatialDraw also has a library of components for editing the coordinates of these geometries directly. These components are in the coordinates package.
For docs see: Components Library
drawing : Drawing shapes on the map is supported with drawing tools in the drawing package.
- UpdatedGeoReceiver
- DrawingContext
- DrawingControl
- BoundingBoxDrawingControl
- LineDrawingControl
- PointDrawingControl
- PointRadiusDrawingControl
- PolygonDrawingControl
menu : To facilitate a smooth UX with map drawing a map drawing menu is provided in the menu package.
For docs see: Components Library
renderer : A renderer is provided in the renderer package that can take an array of GeospatialDraw GeoJSON objects and render them on a map.
Components Library
Browse components in Storybook