1.1.1 • Published 3 years ago

react-leaflet-waypoints v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-leaflet-waypoints

React component to show waypoints on Leaflet's map.

Screenshot

Installation

Install react-leaflet-waypoints with npm:

npm install react-leaflet-waypoints
or
yarn add react-leaflet-waypoints

Usage

import {ReactLeafletWaypoints} from 'react-leaflet-waypoints';

export const MyComponent = () => {
  return (
    <ReactLeafletWaypoints
      layerUrl="https://layer-url/image.png"
      waypoints={[{lat: '40.4381311', lng: '-3.8196196'}, {lat: '42.7576862', lng: '1.5082874'}]}
    />
  );
}

Demo

Storybook Live Demo

You can easily check the Storybook in your local.

Clone the repository and move into:

git clone git@github.com:ozaytsev86/react-leaflet-waypoints.git
cd react-leaflet-waypoints

Install dependencies:

yarn / npm install

Run Storybook

yarn sb / npm run sb

Roadmap

WIP

Issues

If you found an issue, or you have a suggestion please create a ticket here

Contributions

Create or take an already created issue
Clone the repository
Create a branch with the issue name
Once you finish create a pull request

License

MIT

1.1.1

3 years ago

1.1.0

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

1.0.0-beta.0

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago

1.0.0

4 years ago