IndoorRenderer

class IndoorRenderer @JvmOverloads constructor(mapView: MapView? = null, venueId: String, theme: String? = null, val venueLoadedCallback: (VenueFeatureResponse) -> Unit? = null) : ClickableRenderer<OnVenuePoiClick>

Renderer to draw your indoor project.

Parameters

mapView

The MapView onto which to draw.

venueId

The name of your Venue.

theme

An optional theme for your venue.

venueLoadedCallback

An optional callback called once the venue is loaded.

Constructors

Link copied to clipboard
constructor(offlineVenue: IndoorOfflineVenue)

Secondary constructor to render an IndoorOfflineVenue instead.

constructor(mapView: MapView? = null, venueId: String, theme: String? = null, venueLoadedCallback: (VenueFeatureResponse) -> Unit? = null)

Properties

Link copied to clipboard

Venue Level currently displayed

Link copied to clipboard

Venue level currently displayed (using VenueLevel.level)

Link copied to clipboard

VenueFeatureResponse loaded by the renderer

Link copied to clipboard

An optional callback called once the venue is loaded.

Functions

Link copied to clipboard

Add an action triggered when currentLevel is changed.

Link copied to clipboard

Add an action triggered when a Feature rendered by this DataRenderer gets clicked.

Link copied to clipboard

Clear any displayed route.

Link copied to clipboard
fun plotRoute(route: DirectionsRoute, startIcon: Icon? = null, stopIcon: Icon? = null)

Display a DirectionsRoute on this renderer. This will automatically clear any previous ploted route.

Link copied to clipboard

Remove a callback triggered when changing currentLevel.

Link copied to clipboard

Remove a callback triggered by a click on a Feature.