initial vector tile integration - #49
Conversation
|
This is much clearer now. I'll have look and the goal is to merge asap. |
| pbandk = "0.16.0" | ||
| kotlinx-datetime = "0.6.2" | ||
| kotlinx-serialization = "1.11.0" | ||
| voyager = "2.2.21-1.10.3" |
There was a problem hiding this comment.
We don't need this, we're using compose navigation
|
In the meantime I will try to get a complete list of what is missing in case of rendering compared to the MapLibre Style Specs. |
| coroutines = "1.11.0" | ||
| kotlinx-io = "0.9.0" | ||
| pbandk = "0.16.0" | ||
| kotlinx-datetime = "0.6.2" |
|
|
||
| internal sealed interface VisibleWindow { | ||
| data class BoundsConstrained(val tileMatrix: TileMatrix): VisibleWindow | ||
| val tileMatrix: TileMatrix |
|
Just to clarify: my goal for now is only to ensure the minimum changes are made to the core library. The rest will come later. |
|
Instead of making a ton of annoying comments, we can do it this way: |
|
Sure, I will refactor it. Some of the changes I need to look into, because they were made prior my work. I think today or maybe tomorrow I should push the changes in a commit. |
|
Ok no problem! |
5117ebc to
4693e6b
Compare
|
I made the changes and packed it again in a single commit. In this instance I added a minimal implementation of infinity scroll y to be able to revert all changes in
|
Good one. I haven't implemented infinity scroll y for practical reason. Do you see a use case? I would say this is out of scope for this feature.
We can keep those in core indeed.
Alright, we just need to make sure it's added as Thanks |
Sorry, I meant infinite scroll x
It is added unter |
…ec implementation for easier comparison
|
@p-lr Update from my side: when comparing the current state with the reference implementation of maplibre-style-spec I had some trouble to figure out what is implemented and what is missing. therefore I started reimplementing the expressions and by porting the ts implementation. This way it was easier to track what is missing. also legacy filters are handled like maplibre does it by converting them to expressions. Now all filters and expressions should be implemented. |
|
Maybe also port the ts unit tests if they (hopefully) have them. This is a way to double check correctness. |
|
I invested a lot of time in the past few weeks, and am nearly finished with porting maplibre-gl-js to MapComposeMP. I also added tests for the ported logic. The vector part should then be feature complete as far as I can tell. |
|
That's great, thanks. Since you're getting close, it's best to have clear goals. Once you rebase on master, I'll be focusing on the changes to the core library. If this is going to be merged, all changes to the core must be carefully thought, and with absolute zero performance and risk to the existing raster tile rendering. And when the focus will be on the optimization, I'll again be cautious on how and why changes are made. |
New MR as discussed.