Files
MapLibreParticleLab/src/mbgl/layer/symbol_layer_impl.hpp
2016-06-02 14:51:39 -07:00

36 lines
824 B
C++

#ifndef MBGL_SYMBOL_LAYER
#define MBGL_SYMBOL_LAYER
#include <mbgl/layer/layer_impl.hpp>
#include <mbgl/layer/symbol_layer.hpp>
#include <mbgl/layer/symbol_layer_properties.hpp>
namespace mbgl {
class SpriteAtlas;
class SymbolLayer::Impl : public Layer::Impl {
public:
std::unique_ptr<Layer> clone() const override;
void parseLayout(const JSValue&) override;
void parsePaints(const JSValue&) override;
void cascade(const StyleCascadeParameters&) override;
bool recalculate(const StyleCalculationParameters&) override;
std::unique_ptr<Bucket> createBucket(StyleBucketParameters&) const override;
SymbolLayoutProperties layout;
SymbolPaintProperties paint;
float iconSize = 1.0f;
float textSize = 16.0f;
SpriteAtlas* spriteAtlas = nullptr;
};
} // namespace mbgl
#endif