DashEvSearchInit

Properties

Link copied to clipboard
abstract var iconFactory: (Activity) -> (EvStationMarker) -> Bitmap??

Custom icon factory for EV station markers on the map. Given a Activity, returns a function that produces a Bitmap for each EvStationMarker. If null, default icons will be used.

Link copied to clipboard
abstract var iconIdFactory: (Activity) -> (EvStationMarker) -> String?

Custom icon factory for EV station markers IDs on the map. Given a Activity, returns a function that produces a String per each EvStationMarker. If null, default marker ID will be calculated.

Link copied to clipboard
abstract var iconOffset: List<Double>?

Offset for EV station marker icons, as a list of x, y values. If null, default offset will be used.

Link copied to clipboard

Whether a favorited charging station is drawn by this map layer instead of being excluded from it. Set to true only when iconFactory paints its own favorite indicator for such a marker - otherwise it would be drawn twice, once here and once by the favorites layer.

Link copied to clipboard
abstract var sortKey: (EvStationMarker) -> Double?

Custom sort key function for ordering EV station markers on the map. If null, default sorting will be used.

Link copied to clipboard

Custom modifier for EV station power range filtering based on zoom level. Given the current power range filter and zoom level, returns the adjusted power range. If null, no zoom based power range filtering will be applied.