Converts GeoJSON object to a Map.
@override Map<String, dynamic> toMap() { return { 'type': type.value, 'features': features.map((e) => e!.toMap()).toList(), }; }