Beispiel #1
0
 private void SetMapSource(OsmMapModes opts)
 {
     switch (opts)
     {
         case OsmMapModes.Mapnik:map.BaseLayer.Source = _OsmMapnikTileLayer; break;
         case OsmMapModes.Osmarend:map.BaseLayer.Source = _OsmOsmarendTileLayer; break;
     }
 }
Beispiel #2
0
 public OsmTileSource(OsmMapModes mode)
     : base()
 {
     MapMode = mode;
 }