-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Feat] MVTLayer Cartesian Coordinates #9355
Labels
Comments
FWIW, I tried to make this change, but it doesn't compile... So there is probably some more changes to make.
|
Thank you for the feedback. I added a type cast. Now |
Thanks! Now, I can display microjson, created with the microjson toolkit. Somehow, the scale is wrong but I'm not sure if it's due to MVTLayer or my application. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Target Use Case
MVTLayer incorrectly visualizes a vector tile dataset in Cartesian coordinates in OrthographicView.
https://codepen.io/s-n-i/pen/KwPeapW
I would like to make MVTLayer compatible with this use case.
Proposal
Changing the modelMatrix like this results in correct visualization:
s-n-i@4cacc13
https://codepen.io/s-n-i/pen/ZYzRLYX
I was wondering if MVTLayer is already intended to support Cartesian coordinates because it appears to infer a Cartesian coordinate system from
!this.context.viewport.resolution
in the source code here. If Cartesian coordinates are already intended to be supported, I can change this issue to a bug ticket.deck.gl/modules/geo-layers/src/mvt-layer/mvt-layer.ts
Line 268 in e9eada6
The text was updated successfully, but these errors were encountered: