Converts to a GeoJSON map.
@override Map<String, dynamic> toJson() => { 'type': type, 'geometries': geometries.map((g) => g.toJson()).toList(), };