-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add setter for KmlDataSource.name #5660
Conversation
CHANGES.md
Outdated
@@ -16,6 +16,7 @@ Change Log | |||
* Added ability to show tile urls in the 3D Tiles Inspector. [#5592](https://github.com/AnalyticalGraphicsInc/cesium/pull/5592) | |||
* Added behavior to `Cesium3DTilesInspector` that selects the first tileset hovered over if no tilest is specified. [#5139](https://github.com/AnalyticalGraphicsInc/cesium/issues/5139) | |||
* Added ability to provide a `width` and `height` to `scene.pick`. [#5602](https://github.com/AnalyticalGraphicsInc/cesium/pull/5602) | |||
* Added setter for `KkmlDataSource.name` to specify a name for the datasource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo Kkml
Source/DataSources/KmlDataSource.js
Outdated
* This will be automatically be set to the KML document name on load. | ||
* @memberof KmlDataSource.prototype | ||
* @type {String} | ||
*/ | ||
name : { | ||
get : function() { | ||
return this._name; | ||
}, | ||
set : function(value) { | ||
if(this._name !== value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a space after if: if(this
-> if (this
@hpinkos Can you trigger a rebuild? This should be ready |
Thanks @burn123! I just pushed a change to remove an extra line of whitespace, then I'll merge this as soon as CI passes. |
@hpinkos I think there is something wrong with the Travis builds, because I keep getting timeout errors |
No problem. We pushed a few changes last week that fixed CI in master, but your branch might not be up to date. I ran the test locally and everything is great. Thanks! |
Related to #5656.
This allows the ability to set the name of a
KmlDataSource
.