From 362df3439e6cbcdb2aed9277cc703eb953014614 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Thu, 2 Apr 2020 23:51:36 +0100 Subject: [PATCH] update description --- examples/disable-image-smoothing.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/disable-image-smoothing.html b/examples/disable-image-smoothing.html index 3d67e435fb..918aa558b4 100644 --- a/examples/disable-image-smoothing.html +++ b/examples/disable-image-smoothing.html @@ -4,10 +4,8 @@ title: Disable Image Smoothing shortdesc: Example of disabling image smoothing docs: > Example of disabling image smoothing when using raster DEM (digital elevation model) data. - The imageSmoothingEnabled (or for Internet Explorer msImageSmoothingEnabled) canvas - context property is set to false at the layer's prerender event. Additionally for a - reprojected source those properties must also be also be specified for the canvas contexts used in - the reprojection via the source's reprojectionContextOptions option. Elevation data is + The imageSmoothing: false setting is used to disable canvas image smoothing during + reprojection and rendering. Elevation data is calculated from the pixel value returned by forEachLayerAtPixel. For comparison a second map with smoothing enabled returns inaccuate elevations which are very noticeable close to 3107 meters due to how elevation is calculated from the pixel value.