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