https://github.com/lockblock-dev/react-leaflet-nauticsale
React-leaflet-nauticsale is a plugin for react-leaflet. A wrapper component of leaflet.nauticscale.
https://github.com/lockblock-dev/react-leaflet-nauticsale
leaflet nauticsale react react-leaflet-v4
Last synced: 30 days ago
JSON representation
React-leaflet-nauticsale is a plugin for react-leaflet. A wrapper component of leaflet.nauticscale.
- Host: GitHub
- URL: https://github.com/lockblock-dev/react-leaflet-nauticsale
- Owner: LockBlock-dev
- License: mit
- Created: 2024-07-29T15:23:43.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-29T17:34:29.000Z (over 1 year ago)
- Last Synced: 2025-02-27T09:36:28.167Z (about 1 year ago)
- Topics: leaflet, nauticsale, react, react-leaflet-v4
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/react-leaflet-nauticsale
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# react-leaflet-nauticsale [](https://www.npmjs.com/package/react-leaflet-nauticsale)
- React-leaflet v4 support
- Typescript support
React-leaflet-nauticsale is a plugin for react-leaflet. A wrapper component of leaflet.nauticscale.
## Installation
- Install [NodeJS](https://nodejs.org)
- Run `react-leaflet-nauticsale`
## Prerequisites
Make sure that you haveve installed `react`, `react-leaflet` and `leaflet`.
## Example usage
```tsx
import { MapContainer } from "react-leaflet";
import ScaleNautic from "react-leaflet-nauticsale";
import "leaflet/dist/leaflet.css";
const Demo = () => {
return (
);
};
```
## Reference
See: https://github.com/wattnpapa/leaflet.nauticscale
## Copyright
See the [license](/LICENSE)