0

I have a time based tile server with radar data. I want to show this in mapbox.

The only way I get this working is this. Remove Source and layer and create a new source and layer.

 mapboxMap.RemoveLayer("layer");
 mapboxMap.RemoveSource("source");
 RasterSource source = new RasterSource("source", tileset, 256);

 mapboxMap.AddSource(source);
 RasterLayer layer = new RasterLayer("layer", "source");
 mapboxMap.AddLayer(layer);

This is working, bur the problem is that it is flickering. Is there another way to do this. I'm using Naxam.Mapbox.Droid version for Xamarin.

Thanks Jelle

0 Answers0