Skip to content

Commit

Permalink
fix billboard and label id type
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed May 13, 2024
1 parent 7473d30 commit f4bba4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/Billboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import VerticalOrigin from "./VerticalOrigin.js";
* Initialization options for the first param of Billboard constructor
*
* @property {Cartesian3} position The cartesian position of the billboard.
* @property {string} [id] A user-defined object to return when the billboard is picked with {@link Scene#pick}.
* @property {any} [id] A user-defined object to return when the billboard is picked with {@link Scene#pick}.
* @property {boolean} [show=true] Determines if this billboard will be shown.
* @property {string | HTMLCanvasElement} [image] A loaded HTMLImageElement, ImageData, or a url to an image to use for the billboard.
* @property {number} [scale=1.0] A number specifying the uniform scale that is multiplied with the billboard's image size in pixels.
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function parseFont(label) {
* Initialization options for the Label constructor
*
* @property {Cartesian3} position The cartesian position of the label.
* @property {string} [id] A user-defined object to return when the label is picked with {@link Scene#pick}.
* @property {any} [id] A user-defined object to return when the label is picked with {@link Scene#pick}.
* @property {boolean} [show=true] Determines if this label will be shown.
* @property {string} [text] A string specifying the text of the label.
* @property {string} [font='30px sans-serif'] A string specifying the font used to draw this label. Fonts are specified using the same syntax as the CSS 'font' property.
Expand Down

0 comments on commit f4bba4f

Please sign in to comment.