EVPoiFilterCriteriaBuilder class abstract

Builder for EV POI filtering criteria.

For all list-based filter methods, an empty list means accept all.

Filtering takes effect only when the corresponding EV charging station POI categories are enabled.

  • Charging station for cars: 700-7600-0322 (required when filtering for cars)
  • Charging station for trucks: 700-7600-0323 (required when filtering for trucks)

POI category visibility can be controlled using MapContentSettings.setPoiCategoriesVisibility.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Constructors

EVPoiFilterCriteriaBuilder()
Creates a new builder.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() → PoiFilterCriteria
Builds an opaque POI criteria object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withChargingOnSite(bool value) → EVPoiFilterCriteriaBuilder
Matches POIs where either general public or just customers are offered charging.
withConnectorTypes(List<String> ids) → EVPoiFilterCriteriaBuilder
Accepted connector type strings.
withElectricCurrentType(ElectricCurrentType type) → EVPoiFilterCriteriaBuilder
Required current type (AC or DC).
withElectricVehicleTypes(List<ElectricVehicleType> types) → EVPoiFilterCriteriaBuilder
Accepted electric vehicle types.
withMinCurrent(int amperes) → EVPoiFilterCriteriaBuilder
Minimum current required on any matching port in amperes.
withMinPower(int kilowatts) → EVPoiFilterCriteriaBuilder
Minimum charging power required on any matching port in kilowatts.
withMinVoltage(int volts) → EVPoiFilterCriteriaBuilder
Minimum voltage required on any matching port in volts.
withReservable(bool value) → EVPoiFilterCriteriaBuilder
Matches POIs whose reservable flag equals this value.
withSubscription(bool value) → EVPoiFilterCriteriaBuilder
Matches POIs whose subscription flag equals this value.

Operators

operator ==(Object other) → bool
The equality operator.
inherited