in description says: " Set the points of the LineString from a specially-coded character string of the form:[[longitude1, latitude1], [longitude2, latitude2], …]"
But actually it draws a line from the form of [[llatitude1, longitude1], [latitude2, longitude2], …]
I need it as in description; long,lat. How/what to do?
Yes, you are right but if we want to use any geojson data, we need it as in description. Otherwise it is useless.
I think the description is correct, the function is false.