DingiRasterResamplingMode
enum DingiRasterResamplingMode {}
The resampling/interpolation method to use for overscaling, also known as texture magnification filter
Values of this type are used in the DingiRasterStyleLayer.rasterResamplingMode
property.
-
(Bi)linear filtering interpolates point values using the weighted average of the four closest original source points creating a smooth but blurry look when overscaled
Declaration
Objective-C
DingiRasterResamplingModeLinear
Swift
case linear = 0
-
Nearest neighbor filtering interpolates point values using the nearest original source point creating a sharp but pointated look when overscaled
Declaration
Objective-C
DingiRasterResamplingModeNearest
Swift
case nearest = 1