p-lr / MapComposeMP

Kotlin Multiplatform port of MapCompose
Apache License 2.0
50 stars 5 forks source link

Tile Looping #15

Open Andrey1986-spec opened 4 days ago

Andrey1986-spec commented 4 days ago

Hello,

I encountered a task involving tile looping on the map, where the map should transition from one side to the other (for example, when the user scrolls the map beyond the visible area, tiles should reappear on the opposite side).

After reviewing the current functionality of the mapcompose-mp library, I noticed that there is no built-in support for this behavior. It would be very helpful if you could consider adding tile looping functionality. Or is there another way to achieve this?

Thank you!

p-lr commented 3 days ago

This is similar to https://github.com/p-lr/MapCompose/issues/119 While technically possible, it would require a revamp of how the library works internally. Perhaps a challenge for a v2 of the library.

Andrey1986-spec commented 3 days ago

Thank you very much!