QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
vectortile
qgsvectortilelabeling.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsvectortilelabeling.cpp
3
--------------------------------------
4
Date : April 2020
5
Copyright : (C) 2020 by Martin Dobias
6
Email : wonder dot sk at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#include "
qgsvectortilelabeling.h
"
17
18
#include "
qgsvectortilelayer.h
"
19
20
QgsVectorTileLabelProvider::QgsVectorTileLabelProvider
(
QgsVectorTileLayer
*
layer
)
21
:
QgsVectorLayerLabelProvider
(
Qgis
::GeometryType::Unknown,
QgsFields
(),
layer
->crs(),
layer
->id(), nullptr,
layer
)
22
{}
Qgis
Provides global constants and enumerations for use throughout the application.
Definition
qgis.h:62
QgsAbstractLabelProvider::layer
QgsMapLayer * layer() const
Returns the associated layer, or nullptr if no layer is associated with the provider.
Definition
qgslabelingengine.h:154
QgsFields
Container of fields for a vector layer.
Definition
qgsfields.h:45
QgsVectorLayerLabelProvider::QgsVectorLayerLabelProvider
QgsVectorLayerLabelProvider(QgsVectorLayer *layer, const QString &providerId, bool withFeatureLoop, const QgsPalLayerSettings *settings, const QString &layerName=QString())
Convenience constructor to initialize the provider from given vector layer.
Definition
qgsvectorlayerlabelprovider.cpp:89
QgsVectorTileLabelProvider::QgsVectorTileLabelProvider
QgsVectorTileLabelProvider(QgsVectorTileLayer *layer)
Constructs base label provider class for the given vector tile layer.
Definition
qgsvectortilelabeling.cpp:20
QgsVectorTileLayer
Implements a map layer that is dedicated to rendering of vector tiles.
Definition
qgsvectortilelayer.h:94
qgsvectortilelabeling.h
qgsvectortilelayer.h
Generated on
for QGIS API Documentation by
1.17.0