SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
XYZConnection Struct Reference

All parameters needed to configure an XYZ (slippy-map) tile layer. More...

#include <basemapconnection.h>

Collaboration diagram for XYZConnection:

Static Public Member Functions

static QList< XYZConnectionbuiltins ()
 Returns the list of pre-populated, non-deletable built-in connections.
 

Public Attributes

QString name
 
QString urlTemplate
 
int zMin = 0
 
int zMax = 19
 
int tilePixelRatio = 0
 DPI rendering hint. 0 = Undefined (use tile dimensions as-is) 1 = Standard 96 DPI (256 px tiles) 2 = HiDPI 192 DPI (512 px tiles) This is NOT a URL modifier. "@2x" in a URL template is a literal string the user types.
 
TileAxisOrder axisOrder = TileAxisOrder::ZXY
 
BasemapHttpHeaders httpHeaders
 
bool isBuiltin = false
 

Detailed Description

All parameters needed to configure an XYZ (slippy-map) tile layer.

Member Function Documentation

◆ builtins()

static QList< XYZConnection > XYZConnection::builtins ( )
inlinestatic

Returns the list of pre-populated, non-deletable built-in connections.

Member Data Documentation

◆ axisOrder

TileAxisOrder XYZConnection::axisOrder = TileAxisOrder::ZXY

◆ httpHeaders

BasemapHttpHeaders XYZConnection::httpHeaders

Key "referer" + arbitrary extras.

◆ isBuiltin

bool XYZConnection::isBuiltin = false

Built-in entries cannot be deleted.

◆ name

QString XYZConnection::name

◆ tilePixelRatio

int XYZConnection::tilePixelRatio = 0

DPI rendering hint. 0 = Undefined (use tile dimensions as-is) 1 = Standard 96 DPI (256 px tiles) 2 = HiDPI 192 DPI (512 px tiles) This is NOT a URL modifier. "@2x" in a URL template is a literal string the user types.

◆ urlTemplate

QString XYZConnection::urlTemplate

◆ zMax

int XYZConnection::zMax = 19

◆ zMin

int XYZConnection::zMin = 0

The documentation for this struct was generated from the following file: