/// <inheritdoc /> public IObservable <string> Get(Tile tile) { if (OsmTileRange.Contains(tile.QuadKey.LevelOfDetail)) { return(_osmMapDataProvider.Get(tile)); } return(_mapzenMapDataProvider.Get(tile)); }
private IObservable <string> CreateMapDataObservable(Tile tile) { if (CoreLibrary.HasData(tile.QuadKey)) { return(Observable.Return("")); } if (OsmTileRange.Contains(tile.QuadKey.LevelOfDetail)) { return(_osmMapDataProvider.Get(tile)); } return(_mapzenMapDataProvider.Get(tile)); }