Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiedentop committed Feb 27, 2024
1 parent ed9d078 commit b7090da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/geojson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ class Position extends CoordinateType {
/// You can either specify 4 or 6 parameters
/// If you are using the default constructor with two dimensional positions (lng + lat only), please use the constructor like this:
/// `BBox(lng1, lat1, lng2, lat2);`
// ToDo: different constructors for 2D and 3D positions!
class BBox extends CoordinateType {
BBox(
/// longitude 1
Expand Down Expand Up @@ -685,7 +683,7 @@ class Feature<T extends GeometryObject> extends GeoJSONObject {

@override
Map<String, dynamic> toJson() => super.serialize({
if (id != null) 'id': id,
'id': id,
'geometry': geometry!.toJson(),
'properties': properties,
...fields,
Expand Down

0 comments on commit b7090da

Please sign in to comment.