summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/location/doc/src/plugins/mapboxgl.qdoc2
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/location/doc/src/plugins/mapboxgl.qdoc b/src/location/doc/src/plugins/mapboxgl.qdoc
index 29a5cb20..21222792 100644
--- a/src/location/doc/src/plugins/mapboxgl.qdoc
+++ b/src/location/doc/src/plugins/mapboxgl.qdoc
@@ -102,7 +102,7 @@ The following table lists optional parameters that can be passed to the Mapbox p
The default size of this cache is 50 MiB.
Make sure to comply with Mapbox Terms of Service before increasing this value.
\row
- \li mapboxgl.use_fbo
+ \li mapboxgl.mapping.use_fbo
\li Sets whether to use a framebuffer object to render Mapbox GL Native.
Valid values are \b true and \b false. The default value is \b true. When
set to \b false, the map is rendered issuing OpenGL commands directly,
diff --git a/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp
index 0196c703..c87b458d 100644
--- a/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeomappingmanagerenginemapboxgl.cpp
@@ -133,8 +133,8 @@ QGeoMappingManagerEngineMapboxGL::QGeoMappingManagerEngineMapboxGL(const QVarian
m_settings.setCacheDatabaseMaximumSize(cacheSize);
}
- if (parameters.contains(QStringLiteral("mapboxgl.use_fbo"))) {
- m_useFBO = parameters.value(QStringLiteral("mapboxgl.use_fbo")).toBool();
+ if (parameters.contains(QStringLiteral("mapboxgl.mapping.use_fbo"))) {
+ m_useFBO = parameters.value(QStringLiteral("mapboxgl.mapping.use_fbo")).toBool();
}
engineInitialized();