summaryrefslogtreecommitdiff
path: root/platform/qt/src
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-04-28 17:39:19 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-05-02 19:33:54 +0300
commit133f71dd01eb33bf238d7deaa631596492e40ee4 (patch)
tree9b3cca24388e7b3287e0a40b030ebcb4ecb20cc2 /platform/qt/src
parenta02686447a04cf8d5c0ee1664d39747a15206c30 (diff)
downloadqtlocation-mapboxgl-133f71dd01eb33bf238d7deaa631596492e40ee4.tar.gz
[Qt] Add more properties stubs
Diffstat (limited to 'platform/qt/src')
-rw-r--r--platform/qt/src/qquickmapboxgl.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/qt/src/qquickmapboxgl.cpp b/platform/qt/src/qquickmapboxgl.cpp
index 96af258214..dd0a7c8f1d 100644
--- a/platform/qt/src/qquickmapboxgl.cpp
+++ b/platform/qt/src/qquickmapboxgl.cpp
@@ -113,6 +113,29 @@ QGeoShape QQuickMapboxGL::visibleRegion() const
return m_visibleRegion;
}
+void QQuickMapboxGL::setCopyrightsVisible(bool)
+{
+ qWarning() << __PRETTY_FUNCTION__
+ << "Not implemented.";
+}
+
+bool QQuickMapboxGL::copyrightsVisible() const
+{
+ return false;
+}
+
+void QQuickMapboxGL::setColor(const QColor &)
+{
+ // TODO: can be made functional after landing #837
+ qWarning() << __PRETTY_FUNCTION__
+ << "Use Mapbox Studio to change the map background color.";
+}
+
+QColor QQuickMapboxGL::color() const
+{
+ return QColor();
+}
+
int QQuickMapboxGL::swapSyncState()
{
int oldState = m_syncState;