Class VehicleRestrictionIconProperties

java.lang.Object
com.here.sdk.mapview.VehicleRestrictionIconProperties

public final class VehicleRestrictionIconProperties extends Object

Encapsulates properties for generating vehicle restriction icons using IconProvider.

  • Field Details

    • restriction

      @NonNull public VehicleRestriction restriction

      Vehicle restriction to generate icon for.

    • countryCode

      @Nullable public CountryCode countryCode

      Specifies country specific version of the icon. Ignored if there is no country specific version of requested icon.

  • Constructor Details

    • VehicleRestrictionIconProperties

      public VehicleRestrictionIconProperties(@NonNull VehicleRestriction restriction)

      Creates icon properties for specified restriction.

      Parameters:
      restriction -

      Vehicle restriction to generate icon for.

    • VehicleRestrictionIconProperties

      public VehicleRestrictionIconProperties(@NonNull VehicleRestriction restriction, @Nullable CountryCode countryCode)

      Creates icon properties for specified restriction and country.

      Parameters:
      restriction -

      Vehicle restriction to generate icon for.

      countryCode -

      Specifies country specific version of the icon. Ignored if there is no country specific version of requested icon.