MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
feature.hpp File Reference
#include <mbgl/util/string.hpp>
#include <mapbox/compatibility/value.hpp>
#include <optional>

Go to the source code of this file.

Classes

class  mbgl::Feature
 

Namespaces

 mbgl
 

Typedefs

using mbgl::Value = mapbox::base::Value
 
using mbgl::NullValue = mapbox::base::NullValue
 
using mbgl::PropertyMap = mapbox::base::ValueObject
 
using mbgl::FeatureIdentifier = mapbox::feature::identifier
 
using mbgl::GeoJSONFeature = mapbox::feature::feature< double >
 
using mbgl::FeatureState = mapbox::base::ValueObject
 
using mbgl::FeatureStates = std::unordered_map< std::string, FeatureState >
 
using mbgl::LayerFeatureStates = std::unordered_map< std::string, FeatureStates >
 

Functions

template<class T >
std::optional< T > mbgl::numericValue (const Value &value)
 
std::optional< std::string > mbgl::featureIDtoString (const FeatureIdentifier &id)