-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Replace Tangram with Maplibre #5693
base: master
Are you sure you want to change the base?
Conversation
…lt interpreted as rad
- the single components own the sources now - make sure that all of this UI stuff is called on the UI thread
The PR that maybe solves maplibre/maplibre-native#2410 has been merged and a new version was released. Would you test if you can still reproduce it now? I'd love to finally merge this to master. (I tested whether it solves maplibre/maplibre-native#2372 - it doesn't. But in an emulator, I was never able to reproduce that also e.g. the cycleway overlay would not display in certain tiles, so maybe (hopefully) it really is a different issue.) |
Also, when I first started it with the new version, it crashed with. I dimly remember that this was mentioned before, but I thought that we solved it?
|
I also thought so. Maybe there are other ways to resume twice? |
Still happening, unfortunately. |
Darn it! But thanks for testing! |
@Helium314 As per suggestion by a maplibre developer, I attempted a workaround for the blocking issue maplibre-native#2410 in the branch |
When switching from address overlay to some other overlay, I can reliably trigger that bug. Other issues: very interesting: everything works after starting the app once while connected to the internet. Also got a crash first time switching overlays (never again afterwards)
|
Possibly the bug is related to this thing I had in the original PR:
|
So, for the record, the issue is still reproducible with |
Yes
Here I'm not sure. I remember at least the clustering not working once or twice (but most of the testing is done on high zoom, so possibly I just didn't notice). Now that I noticed the connection to being offline, I can better re-check on the |
One more test (
My first guess: there is some necessary data that is not downloaded (but then why did the address overlay work initially?) |
Just to understand. You write "all overlays work fine", but then you say that when switching to Address overlay, it stops working. So you mean all overlays except the address overlay? (I will also try to reproduce the issue given your recipe) |
The address overlay is included here, it really did work initially. For whatever weird reason, after zooming out (iirc lit overlay was active), moving to a different (already downloaded) area, and zooming in, switching to address overlay did not show addresses any more. |
Wow, I can reproduce this! So, this is not device-specific at all! (And jesus, my phone turned into a heater... I hope it is just the debug mode and/or the issue that is triggering this) |
For me, the address overlay did not show up at all. Switching back to other overlays produced the effect described in the issue. This seems to only happen on the first start of the app, i.e. when I remove the app from recents and start again, even if it is still offline, everything looks fine. Right? |
I just tried again, and for me the addresses showed up, but only in the tile where I first enabled an overlay. (and no zoom out was necessary) |
because users might add POIs between zoom 18 and 20 that already exist if they don't see them displayed
by @Helium314 and me.
This PR is the same as Helium314#516 only that it merges to vanilla StreetComplete.
Visible differences to Tangram-ES
Blocked by
GeoJsonSource
maplibre/maplibre-native#2410Known bugs
MapProjection::pixelForLatLng
returns wrong values when camera has tilt maplibre/maplibre-native#2255Crash on Android while in background maplibre/maplibre-native#2432
Awkward animation of dashes at certain zoom levels maplibre/maplibre-native#2433
Remarks
CustomGeometrySourceOptions.withClip
always enabled? maplibre/maplibre-native#2262 is fixed