---
title: "linearity | Mobile sdk | Mobile sdk android | Android"
description: "linearity"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# linearity

val [linearity](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-drag-pan-options/linearity/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)? = null

Factor used to scale the drag velocity.

Default: 0.
