3

Is there any documentation on how to get started with BruTile please?

I am currently working with SharpMap and I need to pre cache tiles to speed up the process

Klstwj
  • 35
  • 1
  • 6

2 Answers2

5

I was looking into this today :) The Mapsui project site heavily relies on SharpMap and BruTile. The project site contains excellent samples to get you started. I also suggest you have a look at the architecture description, it might help to know what are you going to deal with before digging deep into the samples.

pauldendulk
  • 1,378
  • 12
  • 23
GETah
  • 20,922
  • 7
  • 61
  • 103
1

It is this simple to use BruTile with mapsui in a WPF application:

using BruTile.Predefined;
using Mapsui.Desktop;
using Mapsui.Layers;


//myMapControl is Mapsui.UI.Wpf.MapControl
this.myMapControl.RenderMode = Mapsui.UI.Wpf.RenderMode.Wpf;
this.myMapControl.Map = new Mapsui.Map();
this.myMapControl.Map.Layers.Add(new TileLayer(KnownTileSources.Create())); 

enter image description here

Gary Kindel
  • 17,071
  • 7
  • 49
  • 66