3.0.0 • Published 3 years ago
@marfle/react-leaflet-nmscale v3.0.0
React-Leaflet-NmScale
React nautical mile scale component for React-Leaflet
Install
npm install @marfle/react-leaflet-nmscale
Usage
Import:
import { MapContainer, TileLayer } from 'react-leaflet';
import { NmScale } from '@marfle/react-leaflet-nmscale';
Use:
<MapContainer center={[0, 0]} zoom={10}>
<TileLayer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" />
<TileLayer url="https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png" />
<NmScale />
</MapContainer>
License
MIT See LICENSE file.
About us
Marfle makes software for workboat fleets
3.0.0
3 years ago
2.0.1
3 years ago
2.0.0
4 years ago
2.0.0-beta.4
4 years ago
2.0.0-beta.3
4 years ago
2.0.0-beta.2
4 years ago
2.0.0-beta.1
4 years ago
2.0.0-beta.0
4 years ago
2.0.0-alpha.1
4 years ago
2.0.0-alpha.0
4 years ago
1.0.0
6 years ago
0.1.1
6 years ago