latLngsToCoords static method

List latLngsToCoords(
  1. List latlngs, [
  2. int? levelsDeep,
  3. bool closed = false
])

Reverse of coordsToLatLngs.

closed determines whether the first point should be appended to the end of the array to close the feature, only used when levelsDeep is 0. False by default.

Implementation

external static List latLngsToCoords(List latlngs,
    [int? levelsDeep, bool closed = false]);