toJson method
Converts a LineString to its GeoJSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {'type': 'LineString', 'coordinates': _toListList(coordinates)};
}
Converts a LineString to its GeoJSON representation.
@override
Map<String, dynamic> toJson() {
return {'type': 'LineString', 'coordinates': _toListList(coordinates)};
}