-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add support for MAXAR_content_geojson 3D Tiles extension #10356
Conversation
Thanks for the pull request @lilleyse!
Reviewers, don't forget to make sure that:
|
I pushed some very small code changes. Otherwise the PR looks great! I tested with a very large dataset and it rendered the lines in the correct places. |
* @private | ||
*/ | ||
GeoJsonLoader.prototype.unload = function () { | ||
this._components = undefined; |
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.
can unload
be called before parse
? Should it do this._geoJson = undefined;
too?
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.
Never mind, after checking out GltfLoader
it does a similar thing to this (unsets the json after loading finishes).
Fixes #10320.
Merge #10350 and #10351 first
This PR adds support for the
MAXAR_content_geojson
3D Tiles extension which makes it possible to load vector data in the OWT Well Formed Format. This is not a replacement for Vector Tiles which still needs more planning.There are several constraints on the GeoJSON files:
2D and 3D coordinates are supported. GeoJSON properties are supported as well. All the features in the GeoJSON are batched into a single primitive to ensure good performance, and feature IDs are generated so that features are still individually pickable and styleable.
Future work:
Local sandcastle for visualizing the test models