maplibre / maplibre/MapLibre-Android-Auto-Sample
Update rendering more layers from MapView
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 29
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the `CarMapRenderer` is rendering only one layer.
```kt
val mapViewTextureView = mapView.takeIf { it.childCount > 0 }?.getChildAt(0) as? TextureView
mapViewTextureView?.bitmap?.let {
canvas.drawBitmap(it, 0f, 0f, null)
}
```
I found a solution for rendering the logo, bubble layer like this video
(This video has contained onMapClick and attribution click handled, but this feature I will contribute after, cause it must be open one more function from` maplibre-native` project)
https://github.com/user-attachments/assets/3f40500d-8dbf-40f3-8e85-90e0b0513df5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at CarMapRenderer and the MapView bitmap capture shown in the issue, then review the linked video for the intended rendering result. Determine how the logo and bubble layers are represented beyond the first MapView child, and verify that those layers appear in the rendered output without changing the later click-handling work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- computer-graphics, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100