diff options
Diffstat (limited to 'platform/android/src/style/conversion/types_string_values.hpp')
-rw-r--r-- | platform/android/src/style/conversion/types_string_values.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/android/src/style/conversion/types_string_values.hpp b/platform/android/src/style/conversion/types_string_values.hpp index 7e4fd4a7f..ff79fa4f1 100644 --- a/platform/android/src/style/conversion/types_string_values.hpp +++ b/platform/android/src/style/conversion/types_string_values.hpp @@ -206,6 +206,20 @@ namespace conversion { } } + // raster-resampling + inline std::string toString(mbgl::style::RasterResamplingType value) { + switch (value) { + case mbgl::style::RasterResamplingType::Linear: + return "linear"; + break; + case mbgl::style::RasterResamplingType::Nearest: + return "nearest"; + break; + default: + throw std::runtime_error("Not implemented"); + } + } + // hillshade-illumination-anchor inline std::string toString(mbgl::style::HillshadeIlluminationAnchorType value) { switch (value) { |