// clang-format off // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once #include #include #include #include #include #include #include #include namespace mbgl { namespace style { struct BearingImage : LayoutProperty { static constexpr const char *name() { return "bearing-image"; } static expression::Image defaultValue() { return {}; } }; struct ShadowImage : LayoutProperty { static constexpr const char *name() { return "shadow-image"; } static expression::Image defaultValue() { return {}; } }; struct TopImage : LayoutProperty { static constexpr const char *name() { return "top-image"; } static expression::Image defaultValue() { return {}; } }; struct AccuracyRadius : PaintProperty { static float defaultValue() { return 0; } }; struct AccuracyRadiusBorderColor : PaintProperty { static Color defaultValue() { return Color::white(); } }; struct AccuracyRadiusColor : PaintProperty { static Color defaultValue() { return Color::white(); } }; struct Bearing : PaintProperty { static Rotation defaultValue() { return 0; } }; struct BearingImageSize : PaintProperty { static float defaultValue() { return 1; } }; struct ImageTiltDisplacement : PaintProperty { static float defaultValue() { return 0; } }; struct Location : PaintProperty> { static std::array defaultValue() { return {{0, 0, 0}}; } }; struct PerspectiveCompensation : PaintProperty { static float defaultValue() { return 0.85; } }; struct ShadowImageSize : PaintProperty { static float defaultValue() { return 1; } }; struct TopImageSize : PaintProperty { static float defaultValue() { return 1; } }; class LocationIndicatorLayoutProperties : public Properties< BearingImage, ShadowImage, TopImage > {}; class LocationIndicatorPaintProperties : public Properties< AccuracyRadius, AccuracyRadiusBorderColor, AccuracyRadiusColor, Bearing, BearingImageSize, ImageTiltDisplacement, Location, PerspectiveCompensation, ShadowImageSize, TopImageSize > {}; class LocationIndicatorLayerProperties final : public LayerProperties { public: explicit LocationIndicatorLayerProperties(Immutable); LocationIndicatorLayerProperties( Immutable, LocationIndicatorPaintProperties::PossiblyEvaluated); ~LocationIndicatorLayerProperties() override; unsigned long constantsMask() const override; const LocationIndicatorLayer::Impl& layerImpl() const; // Data members. LocationIndicatorPaintProperties::PossiblyEvaluated evaluated; }; } // namespace style } // namespace mbgl // clang-format on