IndoorRouteStyle
public class IndoorRouteStyle
extension IndoorRouteStyle: NativeBase
extension IndoorRouteStyle: Hashable
Represents a style of the indoor route. Contains information about route colors and widths.
Optionally, this style allows to set MapMarker instances that can be used for
specific route elements.
-
Creates a new instance of this class.
Declaration
Swift
public init() -
The width in pixels. Default value is 15 pixels The width in pixels of polylines for indoor route sections.
Declaration
Swift
public var indoorPolylineWidth: Double { get set } -
The color value. The default color is #48DAD0. The color of polylines for indoor route sections.
Declaration
Swift
public var indoorPolylineColor: UIColor { get set } -
The width in pixels. The default width is 20 pixel The width in pixels of polylines for outdoor route sections.
Declaration
Swift
public var outdoorPolylineWidth: Double { get set } -
The color value. The default color is #00908 The color of polylines for outdoor route sections.
Declaration
Swift
public var outdoorPolylineColor: UIColor { get set } -
Returns a
MapMarkerfor a given indoor feature and the number of levels to change. By default, no map markers are provided.Declaration
Swift
public func getIndoorMarkerFor(feature: IndoorFeatures, deltaZ: Int32) -> MapMarker?Parameters
featureAn indoor feature.
deltaZA number of levels to change, positive for up, negative for down. In the case of 0, the method returns an exit map marker.
Return Value
The result
MapMarker, if it was set. -
Sets map markers for the given indoor feature.
Declaration
Swift
public func setIndoorMarkersFor(feature: IndoorFeatures, upMarker: MapMarker?, downMarker: MapMarker?, exitMarker: MapMarker?)