1.1.1 • Published 2 years ago

react-leaflet-waypoints v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.1.0

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

1.0.0-beta.0

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago

1.0.0

3 years ago