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

Shape annotation geometry helper type. More...

#include <QMapLibre/Types>

Public Types

enum  Type { LineStringType = 1 , PolygonType , MultiLineStringType , MultiPolygonType }
 Shape annotation geometry type. More...
 

Public Member Functions

 ShapeAnnotationGeometry (Type type_=LineStringType, CoordinatesCollections geometry_=CoordinatesCollections())
 

Public Attributes

Type type
 annotation geometry type
 
CoordinatesCollections geometry
 annotation geometry
 

Detailed Description

Shape annotation geometry helper type.

Represents a shape annotation geometry via its type and geometry.

Member Enumeration Documentation

◆ Type

Shape annotation geometry type.

This enum is used as basis for shape annotation geometry disambiguation.

Enumerator
LineStringType 

A line string geometry type.

PolygonType 

A polygon geometry type.

MultiLineStringType 

A line string geometry collection type.

MultiPolygonType 

A polygon geometry collection type.

Constructor & Destructor Documentation

◆ ShapeAnnotationGeometry()

QMapLibre::ShapeAnnotationGeometry::ShapeAnnotationGeometry ( Type type_ = LineStringType,
CoordinatesCollections geometry_ = CoordinatesCollections() )
inlineexplicit

Class constructor.