mirror of
https://github.com/ev-map/EVMap.git
synced 2026-05-03 12:35:15 -04:00
disable mini markers completely when filtered by HPCs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user