Skip to content

Scroll by Method

This example shows how you can move the map by x/y pixels.

kotlin
mapMetricsMap.scrollBy(
    (seekBarX.progress * MULTIPLIER_PER_PIXEL).toFloat(),
    (seekBarY.progress * MULTIPLIER_PER_PIXEL).toFloat()
)