IMap

interface IMap

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun drawRoutes(routesData: RoutesModel?)

Draw routes and their metadata (end pin etc.).

Link copied to clipboard

Return current camera tracking mode.

Link copied to clipboard
abstract fun getHeight(): Float

Returns the map height.

Link copied to clipboard

Returns current tracking mode.

Link copied to clipboard
abstract fun getWidth(): Float

Returns the map width.

Link copied to clipboard
abstract fun isNightMode(): Boolean?

Returns information of the night mode - @see setNightMode. If true night mode, if false - day mode, if null - default (application theme)

Link copied to clipboard
abstract fun onNewLocation(locationModel: LocationModel)

Passing current location info to map. It will update position indicator etc.

Link copied to clipboard
Link copied to clipboard
abstract fun setNightMode(nightMode: Boolean?)

Change theme (mode) of the map.

Link copied to clipboard
abstract fun showBounds(routesData: RoutesModel, padding: CameraPadding = CameraPadding())

Show bounds for specific routes.

Link copied to clipboard
abstract fun showPolandOverview()

Shows Poland overview.

Link copied to clipboard
abstract fun showUserPosition(operationalAreaPadding: CameraPadding = CameraPadding(), zoom: Double)

Shows the user's position in the centre of the available area with the specified zoom.

Link copied to clipboard
abstract fun startIsometricTracking(operationalAreaPadding: CameraPadding = CameraPadding(), positionIndicatorOffset: CameraOffset = CameraOffset())

Starts position tracking in isometric view

Link copied to clipboard
abstract fun zoomIn()

Zooms camera in.

Link copied to clipboard
abstract fun zoomOut()

Zooms camera out.