react-leaflet-antimeridian

React-Leaflet adaptor for the Leaflet-Antimeridian package, brings meridian-spanning WrappedPolylines as first-class React components.

Usage no npm install needed!

<script type="module">
  import reactLeafletAntimeridian from 'https://cdn.skypack.dev/react-leaflet-antimeridian';
</script>

README

React-Leaflet-Antimeridian

This package acts as an Adapter to allow leaflet-antimeridian code to be used with React-Leaflet.

This allows you to create WrappedPolygons and WrappedPolylines as first-class React components.