diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-30 17:01:52 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-31 14:17:33 -0700 |
commit | 1a9bccbb850c637583c18e7409e3b87a0dd9ff79 (patch) | |
tree | cd158e3a469bfcbb1fbeab8efca43fc8ef698765 /src/mbgl/style/layers/symbol_layer_properties.hpp | |
parent | 743d95405363e0eea1b80e8c28bde245211f7868 (diff) | |
download | qtlocation-mapboxgl-1a9bccbb850c637583c18e7409e3b87a0dd9ff79.tar.gz |
[core] Add DDS support for icon-image
Diffstat (limited to 'src/mbgl/style/layers/symbol_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/symbol_layer_properties.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/symbol_layer_properties.hpp b/src/mbgl/style/layers/symbol_layer_properties.hpp index 4e4c64eec9..4f63ed419a 100644 --- a/src/mbgl/style/layers/symbol_layer_properties.hpp +++ b/src/mbgl/style/layers/symbol_layer_properties.hpp @@ -60,7 +60,7 @@ struct IconTextFitPadding : LayoutProperty<std::array<float, 4>> { static std::array<float, 4> defaultValue() { return {{ 0, 0, 0, 0 }}; } }; -struct IconImage : LayoutProperty<std::string> { +struct IconImage : DataDrivenLayoutProperty<std::string> { static constexpr const char * key = "icon-image"; static std::string defaultValue() { return ""; } }; |