change option name to imageSmoothing

This commit is contained in:
mike-000
2020-04-02 16:25:25 +01:00
parent 874b850d76
commit 1cd4d37c45
14 changed files with 36 additions and 36 deletions

View File

@@ -15,7 +15,7 @@ const disabledLayer = new TileLayer({
url: 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
maxZoom: 10,
crossOrigin: '',
reprojectionContextOptions: {imageSmoothingEnabled: false, msImageSmoothingEnabled: false}
imageSmoothing: false
})
});