From 1aa24b25a99335e350503fb45a0bca2f25d3dd05 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Fri, 21 Apr 2017 15:38:34 +0300 Subject: Enable Mapbox GL plugin on MinGW builds Qt CI is using MinGW 5.3.0 that should do the job compiling Mapbox GL. For now, only the ANGLE OpenGL backend is supported on Windows for this plugin. I.e. you need to set QT_OPENGL=angle or Qt::AA_UseOpenGLES. Task-number: QTBUG-60110 Change-Id: Iebd4d1569191f47a14b264c489b5d3fb23338d78 Reviewed-by: Qt CI Bot Reviewed-by: Paolo Angelelli --- src/location/doc/src/plugins/mapboxgl.qdoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/location/doc/src/plugins/mapboxgl.qdoc') diff --git a/src/location/doc/src/plugins/mapboxgl.qdoc b/src/location/doc/src/plugins/mapboxgl.qdoc index 9e7aa35a..1ff845a2 100644 --- a/src/location/doc/src/plugins/mapboxgl.qdoc +++ b/src/location/doc/src/plugins/mapboxgl.qdoc @@ -53,6 +53,22 @@ The Mapbox GL geo services plugin can be loaded by using the plugin key "mapboxg Both Mapbox geo services plugins require an access token to access map styles and tiles hosted by Mapbox. To create a Mapbox account visit \l{https://www.mapbox.com/pricing}. +\section1 Platform Support + +Qt Location Mapbox GL Plugin has the following support for platforms: + +\list + \li Microsoft Windows (win32) - Supported, requires MinGW 5.0+ and ANGLE as OpenGL backend + \li Linux X11 - Supported, requires GCC 4.9+ + \li macOS - Supported + \li Android - Supported + \li Embedded Linux - Supported, requires GCC 4.9+ + \li iOS - Supported + \li WinRT - Not supported +\endlist + +\section1 Parameters + \section2 Optional plugin parameters The following table lists optional parameters that can be passed to the Mapbox plugin. @@ -169,6 +185,8 @@ replacing the dash with camel case for technical reasons (i.e. \b line-cap will in the GeoJSON. \endtable +\section1 Example usage + This example adds inline GeoJSON data to the map. Simply adding a \b source is not enough to get the data visible. It is also necessary to create a \b layer based on this source. After the layer is added, we also need to style its \b paint and \b layout properties. In this case we are changing the line color to blue, and the line -- cgit v1.2.1