MapLibre Native for Qt
Loading...
Searching...
No Matches
QMapLibre::Style Struct Reference

Map style helper type. More...

#include <QMapLibre/Types>

Public Types

enum  Type {
  NoMap = 0 , StreetMap , SatelliteMapDay , SatelliteMapNight ,
  TerrainMap , HybridMap , TransitMap , GrayStreetMap ,
  PedestrianMap , CarNavigationMap , CycleMap , CustomMap = 100
}
 Map style type enumeration. More...
 

Public Member Functions

 Style (QString url_, QString name_=QString())
 Constructs a Style object with the given url_ and name_.
 

Public Attributes

QString url
 style URL
 
QString name
 style name
 
QString description
 style description
 
bool night {}
 true if style is a dark/night variant, false otherwise
 
Type type {CustomMap}
 style type
 

Detailed Description

Map style helper type.

Represents map styles via its url, name, description (optional), night (optional) and type (optional).

Member Enumeration Documentation

◆ Type

Map style type enumeration.

Taken from Qt to be in sync with QtLocation.