GeoJSON's latLngToCoords/latLngsToCoords do not accept Array form of LatLngΒ #7425
Closed
Description
opened on Jan 22, 2021
https://leafletjs.com/reference-1.7.1.html#latlng
All Leaflet methods that accept LatLng objects also accept them in a simple Array form and simple object form (unless noted otherwise)
But L.GeoJSON.latLngToCoords
/latLngsToCoords
do not accept Array form:
Lines 256 to 263 in 436430d
That should be documented.
Or fixed (not sure whether it would be really useful).
Activity