Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 months ago
JSON representation

React-leaflet-nauticsale is a plugin for react-leaflet. A wrapper component of leaflet.nauticscale.

Awesome Lists containing this project

README

        

# react-leaflet-nauticsale [![npm version](https://img.shields.io/npm/v/react-leaflet-nauticsale.svg)](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)