polygon_to_line library
Functions
-
polygonToLine(
GeoJSONObject poly, {Map< String, dynamic> ? properties}) → GeoJSONObject - Converts a Polygon to LineString or MultiLineString or a MultiPolygon to a FeatureCollection of LineString or MultiLineString. Returns FeatureCollection or Feature<LineString> or Feature<MultiLinestring> example: