Socket
Book a DemoInstallSign in
Socket

@sethwebster/react-leaflet-geodesic

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@sethwebster/react-leaflet-geodesic

Geodesic curves as React compoment for Leaflet

1.2.0
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

react-leaflet-geodesic npm version

Draws geodesic curves on React-Leaflet, which are the real minimal "line" between two coordinates of the Earth.

This is a part-wrap of Leaflet.Geodesic, made by henrythasler. There are some code still needed to get all functionalities from his lib, feel free to add it.

Example

Usage

import { GeodesicLine } from 'react-leaflet-geodesic'
...
const waypoints = [
  [-33, -70],
  [-33, 151],
]

const options = {
  weight: 20,
  opacity: 0.5,
  color: 'red',
}
...
<GeodesicLine positions={waypoints} options={options} />
...

For more details on how to use this plugin check the example.

Keywords

react

FAQs

Package last updated on 09 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.