MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::Feature Class Reference

#include <feature.hpp>

Inheritance diagram for mbgl::Feature:

Public Types

using GeometryType = mapbox::geometry::geometry< double >
 

Public Member Functions

 Feature ()=default
 
 Feature (const GeoJSONFeature &f)
 
 Feature (const GeometryType &geom_)
 
 Feature (GeometryType &&geom_)
 

Public Attributes

std::string source
 
std::string sourceLayer
 
PropertyMap state
 

Detailed Description

Definition at line 20 of file feature.hpp.

Member Typedef Documentation

◆ GeometryType

using mbgl::Feature::GeometryType = mapbox::geometry::geometry<double>

Definition at line 26 of file feature.hpp.

Constructor & Destructor Documentation

◆ Feature() [1/4]

mbgl::Feature::Feature ( )
default

◆ Feature() [2/4]

mbgl::Feature::Feature ( const GeoJSONFeature f)
inline

Definition at line 29 of file feature.hpp.

◆ Feature() [3/4]

mbgl::Feature::Feature ( const GeometryType geom_)
inline

Definition at line 30 of file feature.hpp.

◆ Feature() [4/4]

mbgl::Feature::Feature ( GeometryType &&  geom_)
inline

Definition at line 31 of file feature.hpp.

Member Data Documentation

◆ source

std::string mbgl::Feature::source

Definition at line 22 of file feature.hpp.

◆ sourceLayer

std::string mbgl::Feature::sourceLayer

Definition at line 23 of file feature.hpp.

◆ state

PropertyMap mbgl::Feature::state

Definition at line 24 of file feature.hpp.


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