Fixed map jumping when starting a drag
[situare] / src / map / mapview.h
index ac6797f..37fb7c7 100644 (file)
@@ -134,7 +134,7 @@ public slots:
     *
     * @param coordinate Scene coordinates of the new center point
     */
-    void centerToSceneCoordinates(const SceneCoordinate &coordinate, bool isUserAction = false);
+    void centerToSceneCoordinates(const SceneCoordinate &coordinate, bool isUserDragAction = false);
 
     /**
     * @brief Set zoom level of the view
@@ -190,7 +190,7 @@ signals:
     * Signal is emitted when view is scrolled.
     * @param coordinate Scene coordinates of the new center point of the view
     */
-    void viewScrolled(const SceneCoordinate &coordinate);
+    void viewScrolled(const SceneCoordinate &coordinate, bool isUserDragAction);
 
     /**
     * @brief Signal for informing that zooming animation is finished