local-common-components 0.2.10
Install from the command line:
Learn more about npm packages
$ npm install @generation-one/local-common-components@0.2.10
Install via package.json:
"@generation-one/local-common-components": "0.2.10"
About this version
Reusable map components built on MapLibre for working with points and polygons.
- MapSelector – single-point selector with geolocate and draggable marker support.
- MapGeoJsonEditor – polygon drawing/editor backed by MapLibre Draw.
- MapBusinessEditor – combined view offering both point and polygon editing in one canvas.
import { MapSelector } from "local-common-components";
<MapSelector
value={location}
onChange={setLocation}
/>
The package also exports lightweight geo helpers from src/geo/coordinates.ts along with the GeoPoint and MultiPolygon types.
Tailwind-friendly utility classes are applied by default. Override via the exposed className, height, and width props to match your host application.
These sources are colocated with the merchant operator app; copy the local-common-components directory into another project to package as a library.
Details
- local-common-components
-
Generation-One
- about 20 hours ago
- UNLICENSED
- 15 dependencies
Assets
- local-common-components-0.2.10.tgz
Download activity
- Total downloads 2
- Last 30 days 2
- Last week 2
- Today 0