Closed majatestad closed 4 months ago
@meyja Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
google-maps
tagThis is an automated message, feel free to ignore.
Heatmaps are working just fine as it is. You need to use TileOverlay
together with HeatmapTileProvider
.
See: https://developers.google.com/maps/documentation/android-sdk/utility/heatmap
IIUC, you will have to use a MapEffect to add a heat map to a composable map.
If you follow this [example]
(https://developers.google.com/maps/documentation/android-sdk/utility/heatmap#simple), you would just need to change this call val overlay = map.addTileOverlay(TileOverlayOptions().tileProvider(provider))
to happen in a MapEffect.
This particular part should be similar to how other layers are added to the composable map. See this example https://developers.google.com/codelabs/maps-platform/maps-platform-101-compose#outline-the-mountain-ranges
I'm searching for functionality to implement heat map over my map in jetpack compose. I have not found any documentation on this, and as I understood from my Discourse request, there may not be any solution for this yet.