After updating Leaflet to 1.1.0 I get the following error.
TypeError: L.Polyline._flat is not a function
The _flat() function was apparently moved from Polyline to LineUtil in this version. Changing the corresponding line would fix the problem as far as I can see.
After updating Leaflet to
1.1.0I get the following error.The
_flat()function was apparently moved fromPolylinetoLineUtilin this version. Changing the corresponding line would fix the problem as far as I can see.