Example #1
0
 public static BruTileLayer CreateOsmMapnicLayer()
 {
     var config = new KnownTileLayerConfiguration(null, BruTile.Predefined.KnownTileSource.OpenStreetMap, string.Empty);
     return new BruTileLayer(config);
 }
Example #2
0
 public static BruTileLayer CreateKnownLayer(KnownTileSource source, string apiKey)
 {
     var config = new KnownTileLayerConfiguration(null, source, apiKey);
     return new BruTileLayer(config);
 }