Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QMapboxGLStyleAddSource Class Reference

#include <qmapboxglstylechange_p.h>

+ Inheritance diagram for QMapboxGLStyleAddSource:
+ Collaboration diagram for QMapboxGLStyleAddSource:

Public Member Functions

void apply (QMapboxGL *map) override
 
- Public Member Functions inherited from QMapboxGLStyleChange
virtual ~QMapboxGLStyleChange ()=default
 
virtual void apply (QMapboxGL *map)=0
 

Static Public Member Functions

static QSharedPointer< QMapboxGLStyleChangefromFeature (const QMapbox::Feature &feature)
 
static QSharedPointer< QMapboxGLStyleChangefromMapItem (QDeclarativeGeoMapItemBase *)
 
- Static Public Member Functions inherited from QMapboxGLStyleChange
static QList< QSharedPointer< QMapboxGLStyleChange > > addMapItem (QDeclarativeGeoMapItemBase *, const QString &before)
 
static QList< QSharedPointer< QMapboxGLStyleChange > > removeMapItem (QDeclarativeGeoMapItemBase *)
 

Detailed Description

Definition at line 98 of file qmapboxglstylechange_p.h.

Member Function Documentation

◆ apply()

void QMapboxGLStyleAddSource::apply ( QMapboxGL *  map)
overridevirtual

Implements QMapboxGLStyleChange.

Definition at line 387 of file qmapboxglstylechange.cpp.

References map.

◆ fromFeature()

QSharedPointer< QMapboxGLStyleChange > QMapboxGLStyleAddSource::fromFeature ( const QMapbox::Feature &  feature)
static

Definition at line 392 of file qmapboxglstylechange.cpp.

References QStringLiteral.

Referenced by QMapboxGLStyleChange::addMapItem(), and fromMapItem().

+ Here is the caller graph for this function:

◆ fromMapItem()

QSharedPointer< QMapboxGLStyleChange > QMapboxGLStyleAddSource::fromMapItem ( QDeclarativeGeoMapItemBase item)
static

Definition at line 403 of file qmapboxglstylechange.cpp.

References fromFeature(), and item.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: