Logo Search packages:      
Sourcecode: qmk-groundstation version File versions  Download package

void qmapcontrol::MapControl::moveTo ( QPointF  coordinate  ) 

Smoothly moves the center of the view to the given Coordinate.

coordinate the Coordinate which the center of the view should moved to

Definition at line 90 of file mapcontrol.cpp.

        target = coordinate;
        steps = 25;
        if (moveMutex.tryLock())
            QTimer::singleShot(40, this, SLOT(tick()));
            // stopMove(coordinate);

Generated by  Doxygen 1.6.0   Back to index