elfalem / Leaflet.curve

A Leaflet plugin for drawing Bézier curves and other complex shapes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leaflet Curve does not seem to want to cross the Pacific Ocean

Weilin37 opened this issue · comments

I have an example of a curve drawn between Australia and California. The expected curve would have crossed the pacific ocean for the shortest path. Instead, it seems to cross Africa and the Atlantic Ocean.

I'd like to understand better why that is and if there is a solution to this. Thanks for your time.

@Weilin37 This applies to Leaflet.js in general and is not something that's specific to Leaflet.curve. I don't have experience with this aspect but there are several Github issues discussing the crossing of the International Date Line. Please see:

Thanks and you're right those solutions helped. Thanks