diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-26 16:39:56 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-02 14:51:39 -0700 |
commit | c902f9098b331302aaa1baac77d1575db624a132 (patch) | |
tree | 211901cd04454aedbac40c469198438e46d7038c /include/mbgl/layer/circle_layer.hpp | |
parent | 18149cbcc27a926f280b08d8d0e09104b2147688 (diff) | |
download | qtlocation-mapboxgl-c902f9098b331302aaa1baac77d1575db624a132.tar.gz |
[core] Rationalize naming for style-related code
Diffstat (limited to 'include/mbgl/layer/circle_layer.hpp')
-rw-r--r-- | include/mbgl/layer/circle_layer.hpp | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/include/mbgl/layer/circle_layer.hpp b/include/mbgl/layer/circle_layer.hpp deleted file mode 100644 index 81f84d36a8..0000000000 --- a/include/mbgl/layer/circle_layer.hpp +++ /dev/null @@ -1,59 +0,0 @@ -// This file is generated. Do not edit. - -#pragma once - -#include <mbgl/style/layer.hpp> -#include <mbgl/style/filter.hpp> -#include <mbgl/style/property_value.hpp> - -namespace mbgl { - -class CircleLayer : public Layer { -public: - CircleLayer(const std::string& layerID); - ~CircleLayer() final; - - // Source - - void setSource(const std::string& sourceID, const std::string& sourceLayer); - const std::string& getSourceID() const; - const std::string& getSourceLayer() const; - - void setFilter(const Filter&); - const Filter& getFilter() const; - - // Paint properties - - PropertyValue<float> getCircleRadius() const; - void setCircleRadius(PropertyValue<float>); - - PropertyValue<Color> getCircleColor() const; - void setCircleColor(PropertyValue<Color>); - - PropertyValue<float> getCircleBlur() const; - void setCircleBlur(PropertyValue<float>); - - PropertyValue<float> getCircleOpacity() const; - void setCircleOpacity(PropertyValue<float>); - - PropertyValue<std::array<float, 2>> getCircleTranslate() const; - void setCircleTranslate(PropertyValue<std::array<float, 2>>); - - PropertyValue<TranslateAnchorType> getCircleTranslateAnchor() const; - void setCircleTranslateAnchor(PropertyValue<TranslateAnchorType>); - - // Private implementation - - class Impl; - Impl* const impl; - - CircleLayer(const Impl&); - CircleLayer(const CircleLayer&) = delete; -}; - -template <> -inline bool Layer::is<CircleLayer>() const { - return type == Type::Circle; -} - -} // namespace mbgl |