disable mini markers completely when filtered by HPCs

This commit is contained in:
johan12345
2022-08-15 18:38:18 +02:00
parent edd35fba1b
commit d7b377ea56

View File

@@ -311,7 +311,8 @@ class MapViewModel(application: Application, private val state: SavedStateHandle
}
minPower >= 100 -> {
// when only showing high-power chargers we can use large markers
zoom < clusterThreshold
// because the density is much lower
false
}
else -> {
zoom < miniMarkerThreshold