[Qt] Forward toggleDebug() from mbgl::Map

This commit is contained in:
Bruno de Oliveira Abinader
2015-10-08 15:02:39 -07:00
committed by Thiago Marcos P. Santos
parent 2d156ec6a9
commit b2cd18a550
2 changed files with 7 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ public:
QMapboxGL(QObject *parent = 0, const QMapboxGLSettings& = QMapboxGLSettings());
virtual ~QMapboxGL();
void cycleDebugOptions();
void setStyleJSON(const QString &);
void setStyleURL(const QString &);

View File

@@ -75,6 +75,11 @@ QMapboxGL::~QMapboxGL()
delete d_ptr;
}
void QMapboxGL::cycleDebugOptions()
{
d_ptr->mapObj->cycleDebugOptions();
}
void QMapboxGL::setStyleJSON(const QString &style)
{
d_ptr->mapObj->setStyleJSON(style.toUtf8().constData());