enableInertia

fun enableInertia(duration: Int = 500): Boolean

Enables inertia process while moving the map.

Return

true on success, false otherwise

Parameters

duration

The duration in milliseconds of an inertia process (default = 500)