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