<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="VectorLayer.Samples.Cities" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:loc="clr-namespace:VectorLayer">
  <UserControl.Resources>
    <!-- Converters -->
    <loc:LODConverter x:Key="lodCnv" />
    <loc:GeometryConverter x:Key="geomCnv" />

    <!-- Template -->
    <DataTemplate x:Key="templCity">
      <c1:C1VectorPlacemark Fill="Transparent" Loaded="C1VectorPlacemark_Loaded" GeoPoint="{Binding GeoPoint}" Label="{Binding Name}" LabelPosition="Right" Stroke="#80FFFFFF" Lod="{Binding Population,Converter={StaticResource lodCnv}}" Geometry="{Binding Population,Converter={StaticResource geomCnv}}">
      </c1:C1VectorPlacemark>
    </DataTemplate>
   
  </UserControl.Resources>
    <Grid x:Name="LayoutRoot">
     <Border>
      <c1:C1Maps x:Name="maps" Zoom="2" />
      </Border>
    </Grid>
</UserControl>