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
geomapsource.h
Go to the documentation of this file.
1
// Copyright (C) 2013-2018 Esri <contracts@esri.com>
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
GEOMAPSOURCE_H
5
#
define
GEOMAPSOURCE_H
6
7
#
include
<
QtLocation
/
private
/
qgeomaptype_p
.
h
>
8
#
include
<
QtLocation
/
private
/
qgeocameracapabilities_p
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
GeoMapSource :
public
QGeoMapType
13
{
14
public
:
15
GeoMapSource(QGeoMapType::MapStyle style,
const
QString &name,
16
const
QString &description,
bool
mobile,
bool
night,
int
mapId,
17
const
QString &url,
const
QString ©right,
const
QGeoCameraCapabilities &cameraCapabilities);
18
19
inline
const
QString &url()
const
;
20
inline
const
QString ©right()
const
;
21
22
static
QString toFormat(
const
QString &url);
23
static
QGeoMapType::MapStyle mapStyle(
const
QString &styleString);
24
25
private
:
26
QString m_url;
27
QString m_copyright;
28
};
29
30
inline
const
QString &GeoMapSource::url()
const
31
{
32
return
m_url;
33
}
34
35
inline
const
QString &GeoMapSource::copyright()
const
36
{
37
return
m_copyright;
38
}
39
40
QT_END_NAMESPACE
41
42
#
endif
// GEOMAPSOURCE_H
kArcGISTileScheme
static QT_BEGIN_NAMESPACE const QString kArcGISTileScheme(QStringLiteral("/tile/${z}/${y}/${x}"))
mapStyles
static const MapStyleData mapStyles[]
Definition
geomapsource.cpp:18
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
MapStyleData
Definition
geomapsource.cpp:13
MapStyleData::name
QString name
Definition
geomapsource.cpp:14
MapStyleData::style
QGeoMapType::MapStyle style
Definition
geomapsource.cpp:15
qtlocation
src
plugins
geoservices
esri
geomapsource.h
Generated on
for Qt by
1.18.0