@maplibre/native-ffi
    Preparing search index...

    Interface PanMomentum

    How a gesture's pan keeps moving the map's content after release.

    See mln_pan_momentum in the C API reference.

    interface PanMomentum {
        decay?: MomentumDecay;
        velocity?: ScreenPoint;
    }
    Index
    velocity?: ScreenPoint

    How fast the map's content moved on the screen at release, in logical pixels per second. The pan moves only when this is set.