From f16f4a231cd10867c10eb42fb456867469c93836 Mon Sep 17 00:00:00 2001 From: Alex Leung Date: Tue, 3 Mar 2020 10:25:48 -0500 Subject: Support custom Mapbox API base URLs Added support for custom Mapbox API base URLs. Fixes: QTBUG-82655 Change-Id: Ieebcc834f8aeaeb223b036100e5edadd55749101 Reviewed-by: Alex Blasche --- src/location/doc/src/plugins/mapboxgl.qdoc | 4 ++++ 1 file changed, 4 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 119868d1..f2cea8e8 100644 --- a/src/location/doc/src/plugins/mapboxgl.qdoc +++ b/src/location/doc/src/plugins/mapboxgl.qdoc @@ -87,6 +87,10 @@ The following table lists optional parameters that can be passed to the Mapbox p When not set, a development token will be used by default. The development token is subject to the Mapbox \l{https://www.mapbox.com/tos}{Terms of Services} and must not be used in production. This property has no effect on styles hosted outside the Mapbox servers. +\row + \li mapboxgl.api_base_url + \li Set a custom API base URL. When not set, the URL defaults to \l{https://api.mapbox.com}. + This parameter is ignored if the the \b mapboxgl.china property is set. \row \li mapboxgl.china \li Use Mapbox China API base URLs and styles. -- cgit v1.2.1