Select to view content in your preferred language

Displaying raster data at a smaller zoom level

538
0
12-14-2016 07:21 AM
SiegfriedSchermacher
Deactivated User

I am able to display a GeoTIFF on my map with this code:

var raster = new Raster(Path.Combine(Android.OS.Environment.ExternalStorageDirectory.AbsolutePath, "eisalley.tiff"));
raster.LoadAsync().Wait();
var rasterLayer = new RasterLayer(raster);
MyMap.Map.Basemap.BaseLayers.Add(rasterLayer);

But the image only shows up at a certain zoom level down to a certain zoom level.

I tried to set MinScale and MaxScale for the rasterLayer, but it doesn't change anything.

How can i increase and/or decrease the Scale at which the raster data is rendered?

Tags (1)
0 Kudos
0 Replies