Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Defines all possible arrow positions along lines and polylines.

Link copied to clipboard

Defines all supported arrow styles.

Link copied to clipboard
open class ClosedStyle(var styleName: String = "", var minMapScaleFactor: Double = 0.0, var maxMapScaleFactor: Double = 0.0, var visible: Boolean = true, var color: Int = Color.BLACK, var borderColor: Int = Color.BLACK, var borderWidth: Int = 0, var borderRealUnits: Boolean = false) : CommonShapeStyle

Describes a Polygon Style to render closed forms such as polygons, rectangles and ellipses on a MapView.

Link copied to clipboard
open class CommonShapeStyle(var styleName: String = "", var minMapScaleFactor: Double = 0.0, var maxMapScaleFactor: Double = 0.0, var visible: Boolean = true)

A class that contains all common shape style options.

Link copied to clipboard

Defines all possible Dash styles for drawing polylines.

Link copied to clipboard

Defines all possible font weights for drawing labels.

Link copied to clipboard

Defines all possible Width styles for drawing polylines.

Link copied to clipboard

A Map Style lets you to configure how vector maps have to be rendered in a MapView.

Link copied to clipboard

The MapStyleLoader class is a singleton object responsible for loading and managing map styles.

Link copied to clipboard
open class POIStyle(var styleName: String = "", var minMapScaleFactor: Double = 0.0, var maxMapScaleFactor: Double = 0.0, var visible: Boolean = true, var icon: String = "", var fontColor: Int = Color.BLACK, var fontSize: Int = 10, var fontWeight: FontWeight = FontWeight.NORMAL, var fontOutlineColor: Int = 0, var textHAlign: TextHAlignment = TextHAlignment.CENTER, var textVAlign: TextVAlignment = TextVAlignment.MIDDLE, var textFromAttributeCode: Int = CartoConst.KB_ATT_NAME, var textMaxPriority: Boolean = true, var backgroundColor: Int = 0, var backgroundBorderColor: Int = 0, var visibilityCondition: POIVisibilityCondition = POIVisibilityCondition.ViewAlways) : CommonShapeStyle
Link copied to clipboard

Describes a POI style to render both POI icon and label on a MapView.

Link copied to clipboard
open class PolylineStyle(var styleName: String = "", var minMapScaleFactor: Double = 0.0, var maxMapScaleFactor: Double = 0.0, var visible: Boolean = true, var color: Int = 0, var borderColor: Int = 0, var centerColor: Int = 0, var width: Int = 1, var realUnits: Boolean = false, var dashStyle: DashStyle = DashStyle.SOLID, var halfWidthStyle: HalfWidthStyle = HalfWidthStyle.NO, var arrowWidth: Int = 0, var arrowRealUnits: Boolean = false, var arrowColor: Int = 0, var arrowDirection: ArrowDirection = ArrowDirection.TO, var arrowFilled: Boolean = true, var arrowStyle: ArrowStyle = ArrowStyle.HEAD_ONLY, var arrowPosition: ArrowPosition = ArrowPosition.MIDDLE) : CommonShapeStyle

Describes a Polyline Style to render lines and polylines on a MapView.

Link copied to clipboard

Defines all possible Horizontal label/text alignment options

Link copied to clipboard

Defines all possible Vertical label/text alignment options