* [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well
20 lines
506 B
C++
20 lines
506 B
C++
#pragma once
|
|
|
|
#include <mbgl/util/optional.hpp>
|
|
|
|
#include <mapbox/geometry/feature.hpp>
|
|
|
|
namespace mbgl {
|
|
|
|
using Value = mapbox::geometry::value;
|
|
using NullValue = mapbox::geometry::null_value_t;
|
|
using PropertyMap = mapbox::geometry::property_map;
|
|
using FeatureIdentifier = mapbox::geometry::identifier;
|
|
class Feature : public mapbox::geometry::feature<double> {
|
|
public:
|
|
Feature(geometry_type&& geometry_)
|
|
: mapbox::geometry::feature<double> { std::move(geometry_) } {}
|
|
};
|
|
|
|
} // namespace mbgl
|