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

void qmapcontrol::MapControl::followGeometry ( const Geometry geometry  )  const

Keeps the center of the map on the Geometry, even when it moves.

To stop the following the method stopFollowing() have to be called

geometry the Geometry which should stay centered.

Definition at line 71 of file mapcontrol.cpp.

        connect(geom, SIGNAL(positionChanged(Geometry*)),
                this, SLOT(positionChanged(Geometry*)));

Generated by  Doxygen 1.6.0   Back to index