summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-01-18 13:22:37 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 20:55:51 +0300
commitf83b8d8ea4631aa063d04e3194a84c75ba667dfd (patch)
tree9b61fcd0636b1bbadd954d2154309a5d1c16da1d /platform/qt/include/qmapboxgl.hpp
parent7d863d259ae4d2f8a55a211c428a1ff11ae529f1 (diff)
downloadqtlocation-mapboxgl-f83b8d8ea4631aa063d04e3194a84c75ba667dfd.tar.gz
[Qt] Do not use Mapbox GL animations
Let animations to QPropertyAnimation so it can sync with other Qt animations and let the user define the easing curve Qt-style.
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index de4ae06cab..0042a73dd2 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -115,27 +115,27 @@ public:
void setLongitude(double longitude);
double scale() const;
- void setScale(double scale, const QPointF &center = QPointF(), int milliseconds = 0);
+ void setScale(double scale, const QPointF &center = QPointF());
double zoom() const;
- void setZoom(double zoom, int milliseconds = 0);
+ void setZoom(double zoom);
double minimumZoom() const;
double maximumZoom() const;
double bearing() const;
- void setBearing(double degrees, int milliseconds = 0);
+ void setBearing(double degrees);
void setBearing(double degrees, const QPointF &center);
double pitch() const;
- void setPitch(double pitch, int milliseconds = 0);
+ void setPitch(double pitch);
NorthOrientation northOrientation() const;
void setNorthOrientation(NorthOrientation);
Coordinate coordinate() const;
- void setCoordinate(const Coordinate &, int milliseconds = 0);
- void setCoordinateZoom(const Coordinate &, double zoom, int milliseconds = 0);
+ void setCoordinate(const Coordinate &);
+ void setCoordinateZoom(const Coordinate &, double zoom);
void setGestureInProgress(bool inProgress);
@@ -160,7 +160,7 @@ public:
bool isFullyLoaded() const;
void moveBy(const QPointF &offset);
- void scaleBy(double scale, const QPointF &center = QPointF(), int milliseconds = 0);
+ void scaleBy(double scale, const QPointF &center = QPointF());
void rotateBy(const QPointF &first, const QPointF &second);
void resize(const QSize &size);