Remove deprecated method PluggableMap#forEachLayerAtPixel

This commit is contained in:
Maximilian Krög
2022-07-24 21:39:34 +02:00
parent 0f8de89318
commit 2897f03ea5
12 changed files with 39 additions and 634 deletions

View File

@@ -6,7 +6,7 @@ docs: >
Example of data resampling when using raster DEM (digital elevation model) data.
The <code>interpolate: false</code> setting is used to disable interpolation of data values during
reprojection and rendering. Elevation data is
calculated from the pixel value returned by <b>forEachLayerAtPixel</b>. For comparison a second map
calculated from the pixel value returned by <b>getData</b>. For comparison a second map reprojected
with interpolation enabled returns inaccurate elevations which are very noticeable close to 3107 meters
due to how elevation is calculated from the pixel value.
tags: "disable image interpolation, xyz, maptiler, reprojection"
@@ -21,7 +21,7 @@ cloak:
<div>
<label>
Elevation
<span id="info1">0.0</span> meters
<span id="info1">-</span> meters
</label>
</div>
</div>
@@ -31,7 +31,7 @@ cloak:
<div>
<label>
Elevation
<span id="info2">0.0</span> meters
<span id="info2">-</span> meters
</label>
</div>
</div>