Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgeofiletilecachemapbox.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QGEOFILETILECACHEMAPBOX_H
5
#
define
QGEOFILETILECACHEMAPBOX_H
6
7
#
include
<
QtLocation
/
private
/
qgeofiletilecache_p
.
h
>
8
#
include
<
QtLocation
/
private
/
qgeomaptype_p
.
h
>
9
#
include
<
QMap
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QGeoFileTileCacheMapbox :
public
QGeoFileTileCache
14
{
15
Q_OBJECT
16
public
:
17
QGeoFileTileCacheMapbox(
const
QList<QGeoMapType> &mapTypes,
int
scaleFactor,
const
QString &directory = QString(), QObject *parent =
nullptr
);
18
~QGeoFileTileCacheMapbox();
19
20
protected
:
21
QString tileSpecToFilename(
const
QGeoTileSpec &spec,
const
QString &format,
const
QString &directory)
const
override;
22
QGeoTileSpec filenameToTileSpec(
const
QString &filename)
const
override;
23
24
QList<QGeoMapType> m_mapTypes;
25
QMap<QString,
int
> m_mapNameToId;
26
int
m_scaleFactor;
27
};
28
29
QT_END_NAMESPACE
30
31
#
endif
// QGEOFILETILECACHEMAPBOX_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
plugins
geoservices
mapbox
qgeofiletilecachemapbox.h
Generated on
for Qt by
1.18.0