Package-level declarations

Types

Link copied to clipboard

Class that allows to use custom icons for specific instructions By default, custom instructions has to be located in a folder named "custom_maneuvers" which must be in the img resources folder (deployed from assets of the app) Custom chained maneuver style can be different, those icons are located in relativeCustomIconsPath (relative path from relativeCustomIconsPath) This folder name can be changed using customIconsFolderName which defines that folder name These customs icons can be changed directly in that folder, by replacing a png file with another png file of the same name.

Link copied to clipboard
data class CustomInstructionsIconsHolder(val enterMotorway: Bitmap?, val exitMotorway: Bitmap?, val takeFerry: Bitmap?, val leaveFerry: Bitmap?, val stop: Bitmap?)
Link copied to clipboard
data class InstructionItem(val image: Bitmap?, val instructionText: String, val instructionDistance: String, var isCurrentInstruction: Boolean = false)

An item representing an instruction

Link copied to clipboard
Link copied to clipboard

Builder of symbolic maneuvers: images representing an intersection on a route.

Link copied to clipboard
data class SymbolicManeuverStyle(var maxWidth: Int, var maxHeight: Int, val backgroundColor: Int = 0xFF0000FF.toInt(), val penColor: Int = 0xFFB0A080.toInt(), val routePenColor: Int = 0xFFFFFFFF.toInt(), val closedPenColor: Int = 0xFFB0A080.toInt(), val penBorderColor: Int = 0xFF3A352A.toInt(), val routePenBorderColor: Int = 0xFF555555.toInt(), val closedPenBorderColor: Int = 0xFF3A352A.toInt())

Defines the style of a symbolic maneuvers icon (instruction)