-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use associative array key type for entity collection ids #5791
Conversation
@gberaudo, thanks for the pull request! Maintainers, we have a signed CLA from @gberaudo, so you can review this at any time. I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to I am a bot who helps you make Cesium awesome! Thanks again. |
Thanks for fixing the documentation links. |
The Entity id type is String.
a094e60
to
8113a3f
Compare
I looked at other places and only found an issue in CompositeEntityCollection, which is now also fixed. |
Thanks @gberaudo! Can you also update CHANGES.md? Once that's done this is ready to go. |
OK @ggetz, done. |
The previous type: Object is too broad, thus not compatible with the associative array key: String|Number.
As a side note, I noticed the documentation is broken: click on the link to the source code of https://cesiumjs.org/Cesium/Build/Documentation/EntityCollection.html#getById and you will get a 404 error.