Closed ianthetechie closed 3 weeks ago
I think that might still be usable on Android; we'd need something else for iOS though as glb files are OpenGL-specific.
It looks like MapLibre Navigation for iOS just draws a UIView at an appropriate position. I think we briefly discussed that idea a week or two ago.
I assume you have some thoughts on this @Archdoog given that you are using a custom puck.
Looks like this might actually not be too bad!
iOS actually gives us a good looking puck for free (unsure when that happened, as MapLibre Navigation still uses a hacked up UIView
annotation... or was it this one?).
Need to confirm how this works on Android, and we'll need to do some work to expose this in Ramani.
Assigning @Archdoog to finish up the basic Android integration (using MapLibre defaults for now); once that's integrated, we can mark this as complete.
This is done. We can iterate on this as the remaining issues like puck not showing up correctly z-order-wise are likely a result of the Ramani composables drawing in the wrong order.
Here are some Rallista assets we made for the latest mapbox, not sure if maplibre supports glb or they need to be converted. They could use some cleanup and should be changed to a more general purpose blue like the route line.
Rallista User Puck v2.zip puck_smaller_arrow.glb.zip