mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
18 lines
470 B
C#
18 lines
470 B
C#
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
|
// Copyright © 2014 Clemens Fischer
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
|
|
namespace MapControl
|
|
{
|
|
public class TileLayerCollection : ObservableCollection<TileLayer>
|
|
{
|
|
public TileLayer this[string sourceName]
|
|
{
|
|
get { return this.FirstOrDefault(t => t.SourceName == sourceName); }
|
|
}
|
|
}
|
|
}
|