This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HARP-14678 Fix tile dependencies not working (#2186)
* HARP-14678 Reproduce bug with two data sources & tile dependencies Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com> * HARP-14678 Fix issue with morton codes being stored as 32 bit The tile dependency example wasn't working with two separate data sources because the morton code was stored in a Float32Array, which doesn't have enough precision and caused issues. This change stores the row, column and level separately and then in the decoder, the mortonCode is computed and stored as a `number`, which has more accuracy that a 32 bit float. Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com> * HARP-14678 Fix prettier issue Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters