Fix React Leaflet Polyline International Date Line Wrapping with the Antimeridian Plugin

Share this video with your friends

Send Tweet

In this lesson, we'll use the Leaflet Antimeridian plugin to fix issues with Leaflet Polylines when crossing the International Date Line. We'll walk through installing the plugin using it's Github source, importing its fix as a WrappedPolyline function, and using it to naturally draw our Leaflet line data on our map.

Leaflet.Antimeridian