<UserControl 
    x:Class="ControlExplorer.Controls.Maps.Layers"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="using:ControlExplorer.Controls.Maps"
    xmlns:c1="using:C1.Xaml.Maps"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480">
    <UserControl.Resources>
        <!-- Converters -->
        <local:LODConverter x:Key="lodCnv" />
        <local:GeometryConverter x:Key="geomCnv" />

        <!-- Template -->
        <DataTemplate x:Key="templCity">
            <c1:C1VectorPlacemark Fill="Transparent"
                    GeoPoint="{Binding GeoPoint}"
                    Label="{Binding Name}"
                    LabelPosition="Right"
                    Stroke="#44FFFFFF"
                    Lod="{Binding Population,Converter={StaticResource lodCnv}}"
                    Geometry="{Binding Population,Converter={StaticResource geomCnv}}"
                    Foreground="White" FontSize="15">
            </c1:C1VectorPlacemark>
        </DataTemplate>
        <SolidColorBrush x:Key="CE_SampleBorder" Color="#FF8FB4CC"/>
    </UserControl.Resources>

    <c1:C1Maps x:Name="maps" Zoom="2"/>
    
</UserControl>
