File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ class BuildingPart {
2222 // DOM of the building part way
2323 way ;
2424
25- // THREE.Shape of the outline.
25+ /** @type { THREE.Shape } the outline. */
2626 shape ;
2727
28- // THREE.Mesh of the roof
28+ /** @type { THREE.Mesh } the roof */
2929 roof ;
3030
31- // array of Cartesian coordinates of every node.
31+ /** @type { Object.<string, [number, number]> } Cartesian coordinates of every node keyed by refId. */
3232 nodelist = [ ] ;
3333
3434 // Metadata of the building part.
@@ -66,7 +66,7 @@ class BuildingPart {
6666 /**
6767 * @param {number } id - the OSM id of the way or multipolygon.
6868 * @param {XMLDocument } fullXmlData - XML for the region.
69- * @param {[[ number, number],...] } nodelist - Cartesian coordinates of each node keyed by node refID
69+ * @param {Object.<string, [ number, number]> } nodelist - Cartesian coordinates of each node keyed by node refID
7070 * @param {object } options - default values for the building part.
7171 */
7272 constructor ( id , fullXmlData , nodelist , defaultOptions = { } ) {
You can’t perform that action at this time.
0 commit comments