setCompass

fun setCompass(deg: Double, rotateMap: Boolean = false, animationMs: Int = 0)

Send the gps compass to map view

Parameters

deg

that represent the number of degree from the north clockwise.

rotateMap

if true rotate the map according to the compass value

This mean that: north = 0° east = 90° south = 180° west = 270° or -90°