Skip to content

Commit

Permalink
Add return doc
Browse files Browse the repository at this point in the history
  • Loading branch information
njam committed May 19, 2024
1 parent 8097b2e commit eb50bed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/citygml/CityObject.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class CityObject {
return new Envelope(envelopeNode)
}

/**
* @returns {String} This object's ID ("gml:id")
*/
get id() {
return this.cityNode.getAttribute('gml:id')
}
Expand Down

0 comments on commit eb50bed

Please sign in to comment.