* @brief Re-centers the map to the latest GPS coordinates. */
| 268 | * @brief Re-centers the map to the latest GPS coordinates. |
| 269 | */ |
| 270 | void Widgets::GPS::center() |
| 271 | { |
| 272 | m_centerTile = latLonToTile(m_latitude, m_longitude, m_zoom); |
| 273 | updateTiles(); |
| 274 | update(); |
| 275 | } |
| 276 | |
| 277 | //-------------------------------------------------------------------------------------------------- |
| 278 | // Map configuration setters |
no test coverage detected