IconProvider class

This provider creates icons from a given set of parameters for map content and constraints for icon dimensions for a particular map scheme. The icon creation currently does not rely on map data. Therefore, it works without online connection.

Note: This feature is in BETA state and thus there can be bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

Constructors

IconProvider(MapContext mapContext)
Constructor. mapContext The map context instance which is obtained using HereMapController.mapContext.

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

createRoadShieldIcon(RoadShieldIconProperties properties, MapScheme mapScheme, IconProviderAssetType assetType, int widthConstraintInPixels, int heightConstraintInPixels, IconProviderCallback callback) → void
Creates an image displaying a road shield according to the given parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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