Skip to content

Commit

Permalink
support id field
Browse files Browse the repository at this point in the history
fixes #40
  • Loading branch information
jillesvangurp committed Jul 24, 2024
1 parent 22f0018 commit c9333ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commonMain/kotlin/com/jillesvangurp/geojson/geojson.kt
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ data class Feature(
val geometry: Geometry?,
@Required
val properties: JsonObject? = null,
val bbox: BoundingBox? = null
val bbox: BoundingBox? = null,
val id: String? = null,
) {
@Required
val type = "Feature"
Expand Down

0 comments on commit c9333ec

Please sign in to comment.