<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:system="clr-namespace:System;assembly=mscorlib"
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" 
    xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
    xmlns:map="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.DataVisualization"
    xmlns:maps="clr-namespace:Telerik.Windows.Controls.Map;assembly=Telerik.Windows.Controls.DataVisualization">

    <system:Double x:Key="SliderButtonWidth">26</system:Double>
<system:Double x:Key="SliderButtonHeight">36</system:Double>
<Thickness x:Key="SliderButtonMargin">0</Thickness>
<CornerRadius x:Key="SliderHandOuterBorder_CornerRadius">3</CornerRadius>
<SolidColorBrush x:Key="SliderHandOuterBorder_Normal" Color="#CC636363" />
<LinearGradientBrush x:Key="SliderHandBackground_Normal" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#CCFFFFFF"/>
        <GradientStop Color="#66FFFFFF" Offset="1"/>
        <GradientStop Color="#99FFFFFF" Offset="0.5"/>
        <GradientStop Color="#B2A1A1A1" Offset="0.51"/>
    </LinearGradientBrush>
<CornerRadius x:Key="SliderHandInnerBorder_CornerRadius">2</CornerRadius>
<SolidColorBrush x:Key="SliderHandInnerBorder_Normal" Color="#CCFFFFFF" />
<telerikControls:TransparentTheme x:Key="Theme" />
<CornerRadius x:Key="ControlOuterBorder_CornerRadius">1</CornerRadius>
<SolidColorBrush x:Key="ControlOuterBorderVertical_Normal" Color="#CC636363" />
<LinearGradientBrush x:Key="ControlBackgroundVertical_Normal" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#CCFFFFFF"/>
        <GradientStop Color="#99FFFFFF" Offset="0.5"/>
        <GradientStop Color="#B2A1A1A1" Offset="0.5"/>
        <GradientStop Color="#66FFFFFF" Offset="1"/>
    </LinearGradientBrush>
<CornerRadius x:Key="ControlInnerBorder_CornerRadius">0</CornerRadius>
<SolidColorBrush x:Key="ControlInnerBorderVertical_Normal" Color="#CCFFFFFF" />
<SolidColorBrush x:Key="ControlOuterBorderVertical_MouseOver" Color="#CC727272" />
<SolidColorBrush x:Key="ControlInnerBorderVertical_MouseOver" Color="#FFFFFFFF" />
<LinearGradientBrush x:Key="ControlBackgroundVertical_MouseOver" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#E5FFFFFF" Offset="0" />
        <GradientStop Color="#B2FFFFFF" Offset="0.5" />
        <GradientStop Color="#B2FFFFFF" Offset="0.5" />
        <GradientStop Color="#66FFFFFF" Offset="1" />
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorderVertical_Disabled" Color="#7F000000" />
<SolidColorBrush x:Key="ControlInnerBorderVertical_Disabled" Color="#26FFFFFF" />
<SolidColorBrush x:Key="ControlBackgroundVertical_Disabled" Color="#33929292" />
<LinearGradientBrush x:Key="ControlOuterBorderVertical_Pressed" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#B2000000" Offset="0" />
        <GradientStop Color="#7F000000" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="ControlInnerBorderVertical_Pressed" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#66000000"/>
        <GradientStop Color="#B2FFFFFF" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="ControlBackgroundVertical_Pressed" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#CC323232"/>
        <GradientStop Color="#7FFFFFFF" Offset="0.5"/>
        <GradientStop Color="#7FFFFFFF" Offset="0.5"/>
        <GradientStop Color="#66828282" Offset="1"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="SliderBackgroundTrack" Color="#FFF0F0F0" />
<SolidColorBrush x:Key="SliderOuterBorderTrack" Color="#FF848484" />
<SolidColorBrush x:Key="SliderBackground_Tick" Color="#FF000000" />
<SolidColorBrush x:Key="SliderBackground_TickShadow" Color="#99FFFFFF" />
<CornerRadius x:Key="SliderOuterBorderTrack_CornerRadius">0</CornerRadius>
<Thickness x:Key="SliderOuterBorderTrack_BorderThicknessVertical">1,1,0,1</Thickness>
<CornerRadius x:Key="SliderInnerBorderTrack_CornerRadius">0</CornerRadius>
<Thickness x:Key="SliderInnerBorderTrack_BorderThickness">1</Thickness>
<SolidColorBrush x:Key="SliderInnerBorderTrack" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ControlElement_Normal" Color="#FF000000" />
<SolidColorBrush x:Key="MapBackground" Color="#66000000" />
<SolidColorBrush x:Key="MapDefaultLayoutOuterBorderBrush" Color="#7F000000" />
<CornerRadius x:Key="MapDefaultLayoutOuterCornerRadius">3</CornerRadius>
<LinearGradientBrush x:Key="MapDefaultLayoutBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#B2FFFFFF"/>
        <GradientStop Color="#33FFFFFF" Offset="1"/>
        <GradientStop Color="#7FFFFFFF" Offset="0.5"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="MapDefaultLayoutBorderBrush" Color="#CCFFFFFF" />
<CornerRadius x:Key="MapDefaultLayoutCornerRadius">4</CornerRadius>
<SolidColorBrush x:Key="MapInnerArrowFill" Color="Black" />
<Thickness x:Key="MapNavigationButtonLeftMargin">0,0,7,0</Thickness>
<LinearGradientBrush x:Key="MapNavigationButtonLeftBackground" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="White"/>
        <GradientStop Color="#FFD4D4D4" Offset="1"/>
        <GradientStop Color="Gainsboro" Offset="0.5"/>
        <GradientStop Color="#FFADADAD" Offset="0.51"/>
    </LinearGradientBrush>
<CornerRadius x:Key="MapNavigationButtonLeftCornerRadius">2,15,15,2</CornerRadius>
<system:Double x:Key="MapNavigationButtonWidth">32</system:Double>
<system:Double x:Key="MapNavigationButtonHeight">32</system:Double>
<system:Double x:Key="MapNavigationButtonOpacity">0.8</system:Double>
<Thickness x:Key="MapNavigationArrowLeftMargin">0,0,12,0</Thickness>
<Thickness x:Key="MapNavigationButtonRightMargin">7,0,0,0</Thickness>
<LinearGradientBrush x:Key="MapNavigationButtonRightBackground"  EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="White" Offset="1"/>
        <GradientStop Color="#FFD4D4D4"/>
        <GradientStop Color="Gainsboro" Offset="0.5"/>
        <GradientStop Color="#FFADADAD" Offset="0.49"/>
    </LinearGradientBrush>
<CornerRadius x:Key="MapNavigationButtonRightCornerRadius">15,2,2,15</CornerRadius>
<Thickness x:Key="MapNavigationArrowRightMargin">12,0,0,0</Thickness>
<Thickness x:Key="MapNavigationButtonUpMargin">0,0,0,7</Thickness>
<LinearGradientBrush x:Key="MapNavigationButtonUpBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="White"/>
        <GradientStop Color="#FFD4D4D4" Offset="1"/>
        <GradientStop Color="Gainsboro" Offset="0.5"/>
        <GradientStop Color="#FFADADAD" Offset="0.51"/>
    </LinearGradientBrush>
<CornerRadius x:Key="MapNavigationButtonUpCornerRadius">2,2,15,15</CornerRadius>
<Thickness x:Key="MapNavigationArrowUpMargin">0,0,0,12</Thickness>
<Thickness x:Key="MapNavigationButtonDownMargin">0,7,0,0</Thickness>
<LinearGradientBrush x:Key="MapNavigationButtonDownBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="White" Offset="1"/>
        <GradientStop Color="#FFD4D4D4"/>
        <GradientStop Color="Gainsboro" Offset="0.5"/>
        <GradientStop Color="#FFADADAD" Offset="0.49"/>
    </LinearGradientBrush>
<CornerRadius x:Key="MapNavigationButtonDownCornerRadius">15,15,2,2</CornerRadius>
<Thickness x:Key="MapNavigationArrowDownMargin">0,12,0,0</Thickness>
<SolidColorBrush x:Key="MapNavigationCenterEllipseBackground" Color="Transparent" />
<SolidColorBrush x:Key="MapNavigationCenterEllipseStroke" Color="Transparent" />
<LinearGradientBrush x:Key="MapNavigationCenterButtonBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#CCFFFFFF"/>
        <GradientStop Color="#66FFFFFF" Offset="1"/>
        <GradientStop Color="#99FFFFFF" Offset="0.5"/>
        <GradientStop Color="#B2A1A1A1" Offset="0.51"/>
    </LinearGradientBrush>
<system:Double x:Key="MapNavigationCenterButtonSize">28</system:Double>
<Thickness x:Key="MapNavigationCenterButtonBorderThickness">1</Thickness>
<CornerRadius x:Key="MapNavigationCenterButtonCornerRadius">3</CornerRadius>
<LinearGradientBrush x:Key="MapDropDownButtonBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#CCFFFFFF"/>
        <GradientStop Color="#66FFFFFF" Offset="1"/>
        <GradientStop Color="#99FFFFFF" Offset="0.5"/>
        <GradientStop Color="#B2A1A1A1" Offset="0.51"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="MapDropDownOuterBorderBrush" Color="#B2FFFFFF" />
<SolidColorBrush x:Key="MapDropDownOuterBackground" Color="#6B000000" />
<SolidColorBrush x:Key="MapDropDownBackground" Color="#4CFFFFFF" />
<SolidColorBrush x:Key="MapDropDownBorderBrush" Color="#CCCDCDCD" />
<system:Double x:Key="MapDropDownButtonOpacity">1</system:Double>
<LinearGradientBrush x:Key="MapButtonBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#CCFFFFFF"/>
        <GradientStop Color="#66FFFFFF" Offset="1"/>
        <GradientStop Color="#99FFFFFF" Offset="0.5"/>
        <GradientStop Color="#B2A1A1A1" Offset="0.51"/>
    </LinearGradientBrush>
<system:Double x:Key="MapMagnifierPathSize">22</system:Double>
<LinearGradientBrush x:Key="MapMagnifierPathStroke" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="Gray"/>
        <GradientStop Color="Black" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="MapMagnifierPathFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#33FFFFFF"/>
        <GradientStop Color="#B2FFFFFF" Offset="1"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="MapMagnifierEllipseFill" Color="Transparent" />
<SolidColorBrush x:Key="MapScaleForeground" Color="White" />
<SolidColorBrush x:Key="MapScaleBackground" Color="#7F000000" />
<SolidColorBrush x:Key="MapScaleBorderBrush" Color="#66FFFFFF" />
<LinearGradientBrush x:Key="MapScaleLabelBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#99000000"/>
        <GradientStop Color="#33000000" Offset="1"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="MapScaleLabelBorderBrush" Color="#99FFFFFF" />
<LinearGradientBrush x:Key="MapScaleLabelOuterBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#E5000000"/>
        <GradientStop Color="#00000000" Offset="1"/>
    </LinearGradientBrush>
<Thickness  x:Key="MapScaleLabelOuterBorderThickness">1</Thickness>
<CornerRadius x:Key="MapScaleLabelOuterCornerRadius">2</CornerRadius>
<CornerRadius x:Key="MapScaleLabelCornerRadius">2</CornerRadius>
<SolidColorBrush x:Key="MapEyePathShadowStroke" Color="#FDFFFFFF" />
<SolidColorBrush x:Key="MapEyePathShadowFill" Color="White" />
<LinearGradientBrush x:Key="MapEyePathStroke" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="Gray"/>
        <GradientStop Color="Black" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="MapEyePathFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#CCFFFFFF" Offset="1"/>
        <GradientStop Color="#E5FFFFFF"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="MapEyeBigEllipseFill" Color="Transparent" />
<LinearGradientBrush x:Key="MapEyeEllipseStroke"  EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="Gray"/>
        <GradientStop Color="Black" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="MapEyeEllipseFill"  EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#CC000000"/>
        <GradientStop Color="#E5000000" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="MapPushpinBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFF6E6E" Offset="1"/>
        <GradientStop Color="#FFAB0000"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="MapPushpinStroke" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="White"/>
        <GradientStop Color="Black" Offset="0.853"/>
    </LinearGradientBrush>

    

    <SolidColorBrush x:Key="VerticalSingleLargeFill" Color="#00FFFFFF" />

    <!--Increase/Decrease Handle Style-->
    <Style x:Key="HandleStyle" TargetType="RepeatButton">
        <Setter Property="IsTabStop" Value="False" />
        <Setter Property="Cursor" Value="Hand" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RepeatButton">
                    <Grid x:Name="Root" Width="{StaticResource SliderButtonWidth}" Height="{StaticResource SliderButtonHeight}" Margin="{StaticResource SliderButtonMargin}"> 
                        <Border x:Name="Border" BorderThickness="1"
								CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}"
								BorderBrush="{StaticResource SliderHandOuterBorder_Normal}"
								Background="{StaticResource  SliderHandBackground_Normal}">
                            <Border x:Name="InnerBorder" BorderThickness="1"
									CornerRadius="{StaticResource SliderHandInnerBorder_CornerRadius}"
									BorderBrush="{StaticResource SliderHandInnerBorder_Normal}" />
                        </Border>

                        <telerikChromes:ButtonChrome
								telerikControls:StyleManager.Theme="{StaticResource Theme}"
								RenderNormal="False" RenderEnabled="{TemplateBinding IsEnabled}" Orientation="Vertical"
								RenderMouseOver="{TemplateBinding IsMouseOver}"
								RenderPressed="{TemplateBinding IsPressed}"
								RenderFocused="{TemplateBinding IsFocused}"
								CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}" /> 
                        <ContentPresenter />
                    </Grid> 
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style> 

    <!--Vertical Thumb Template-->
    <ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
        <Grid>
            

            <Border x:Name="Border" BorderThickness="1"
					CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
					BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
					Background="{StaticResource  ControlBackgroundVertical_Normal}">
                <Border x:Name="InnerBorder" BorderThickness="1"
						CornerRadius="{StaticResource ControlInnerBorder_CornerRadius}"
						BorderBrush="{StaticResource ControlInnerBorderVertical_Normal}" />
            </Border>
        </Grid>
        
        <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorderVertical_MouseOver}" />
                <Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorderVertical_MouseOver}" />
                <Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackgroundVertical_MouseOver}" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="False">
                <Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorderVertical_Disabled}" />
                <Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorderVertical_Disabled}" />
                <Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackgroundVertical_Disabled}" />
            </Trigger>
            <Trigger Property="IsDragging" Value="True">
                <Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorderVertical_Pressed}" />
                <Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorderVertical_Pressed}" />
                <Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackgroundVertical_Pressed}" />
            </Trigger>
        </ControlTemplate.Triggers>
        
    </ControlTemplate>

    <!--TickBar-->
    <ControlTemplate x:Key="TickBarTemplate" TargetType="telerikControls:RadTickBar">
        <Canvas x:Name="LayoutRoot" Background="Transparent" />
    </ControlTemplate>

    <!--RadSlider-->
    <Style x:Key="MapSlider" TargetType="telerikControls:RadSlider">
        <Setter Property="Orientation" Value="Vertical" />
        <Setter Property="IsEnabled" Value="True" />
        <Setter Property="HandlesVisibility" Value="Visible" />
        <Setter Property="IsMouseWheelEnabled" Value="True" />
        <Setter Property="Background" Value="{StaticResource SliderBackgroundTrack}" />
        <Setter Property="BorderBrush" Value="{StaticResource SliderOuterBorderTrack}" />
        <Setter Property="Delay" Value="250" />
        <Setter Property="RepeatInterval" Value="250" />
        <Setter Property="StepAction" Value="ChangeRange" />
        <Setter Property="ThumbVisibility" Value="Visible" />
        <Setter Property="SelectionStart" Value="0.4" />
        <Setter Property="SelectionEnd" Value="0.6" />
        <Setter Property="MinimumRangeSpan" Value="0.0" />
        <Setter Property="IsSnapToTickEnabled" Value="True" />
        <Setter Property="TickPlacement" Value="None" />
        <Setter Property="TickFrequency" Value="1" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikControls:RadSlider">
                    <Grid x:Name="LayoutRoot">
                        <Grid.Resources>
                            <!-- Tick Template --> 
                            <DataTemplate x:Key="VerticalTickTemplate">
                                <Grid x:Name="RootElement" ToolTipService.ToolTip="{Binding}">
                                    <Rectangle Width="6" Height="1"
											Fill="{StaticResource SliderBackground_Tick}" />
                                    <Rectangle Width="6" Height="1" Margin="0,1,0,0"
											Fill="{StaticResource SliderBackground_TickShadow}" />
                                </Grid>
                            </DataTemplate>
                        </Grid.Resources>
                        
                        <Grid> 
                            <!--VerticalTemplate-->
                            <Grid x:Name="VerticalTemplate">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="*" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <!--[Vertical] [LeftTicks]-->
                                <telerikControls:RadTickBar x:Name="LeftTickBar" IsTabStop="False"
										Template="{StaticResource TickBarTemplate}"  MinWidth="6"
										EnableSideTicks="{TemplateBinding EnableSideTicks}"
										Placement="Left" Grid.Column="0" Grid.Row="1"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />
                                <!--[Vertical] [RightTicks]-->
                                <telerikControls:RadTickBar x:Name="RightTickBar" IsTabStop="False"
										Template="{StaticResource TickBarTemplate}" MinWidth="6"
										Placement="Right" Grid.Column="2" Grid.Row="1"
										EnableSideTicks="{TemplateBinding EnableSideTicks}"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />

                                <!--Track-->
                                <Border Width="6" HorizontalAlignment="Center"
										CornerRadius="{StaticResource SliderOuterBorderTrack_CornerRadius}"
										BorderThickness="{StaticResource SliderOuterBorderTrack_BorderThicknessVertical}"
										BorderBrush="{TemplateBinding BorderBrush}" 
                                        Grid.Column="1"
										Grid.Row="1">
                                    <Border CornerRadius="{StaticResource SliderInnerBorderTrack_CornerRadius}"
											BorderThickness="{StaticResource SliderInnerBorderTrack_BorderThickness}"
											BorderBrush="{StaticResource SliderInnerBorderTrack}"
											Background="{TemplateBinding Background}" />
                                </Border> 
                                <!--[Vertical] [TrackBackground]-->

                                <!--[Vertical] [SingleThumbTemplate]-->
                                <Grid x:Name="VerticalSingleThumbTemplate" 
                                         Grid.Row="1"
										 Grid.Column="1">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*" />
                                        <RowDefinition Height="Auto" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <Rectangle x:Name="VerticalSingleLargeDecrease" Cursor="Hand"
											Grid.Row="2" Opacity="0"
											Fill="{StaticResource VerticalSingleLargeFill}"
											HorizontalAlignment="Stretch" />
                                    <Thumb x:Name="VerticalSingleThumb"
											IsEnabled="{TemplateBinding IsEnabled}" 
                                            Width="20"
											Height="10" 
                                            Grid.Row="1"
											Template="{StaticResource VerticalThumbTemplate}"
											HorizontalAlignment="Center"
											Visibility="{TemplateBinding ThumbVisibility}" />
                                    <Rectangle x:Name="VerticalSingleLargeIncrease" Cursor="Hand"
											Grid.Row="0" Opacity="0"
											Fill="{StaticResource VerticalSingleLargeFill}"
											HorizontalAlignment="Stretch" />
                                </Grid>

                                <!--[Vertical] [DecreaseHandle]-->
                                <RepeatButton x:Name="VerticalDecreaseHandle"
										IsEnabled="{TemplateBinding IsEnabled}"
										Delay="{TemplateBinding Delay}"
										Interval="{TemplateBinding RepeatInterval}"
										HorizontalAlignment="Center" Grid.Column="1" Grid.Row="2"
										Visibility="{TemplateBinding HandlesVisibility}"
										Style="{StaticResource HandleStyle}" 
										RenderTransformOrigin="0.5,0.5"
                                        Opacity="0.8">
                                    <RepeatButton.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleX="-1" ScaleY="-1" />
                                            <RotateTransform Angle="90" />
                                        </TransformGroup>
                                    </RepeatButton.RenderTransform>
                                    <Path Fill="{StaticResource ControlElement_Normal}" 
								            Stretch="Fill" HorizontalAlignment="Center"
								            VerticalAlignment="Center" Width="2" Height="9" 
								            Data="M1.48956,16.175882 L7.1873875,16.175882 L7.1873875,18.47793 L1.48956,18.47793 z" />
                                </RepeatButton>

                                <!--[Vertical] [IncreaseHandle]-->
                                <RepeatButton x:Name="VerticalIncreaseHandle"
										IsEnabled="{TemplateBinding IsEnabled}"
										Delay="{TemplateBinding Delay}"
										Interval="{TemplateBinding RepeatInterval}"
										HorizontalAlignment="Center" Grid.Column="1" Grid.Row="0"
										Visibility="{TemplateBinding HandlesVisibility}"
										RenderTransformOrigin="0.5,0.5"
										Style="{StaticResource HandleStyle}" 
                                        Opacity="0.8">
                                    <RepeatButton.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleX="1" ScaleY="-1" />
                                            <RotateTransform Angle="90" />
                                        </TransformGroup>
                                    </RepeatButton.RenderTransform>
                                    <Path Fill="{StaticResource ControlElement_Normal}" 
								            Stretch="Fill" HorizontalAlignment="Center"
								            VerticalAlignment="Center" Width="9" Height="9" 
								            Data="M4.0009999,0 L6.0009999,0 6.0009999,3.9619999 10,3.9619999 10,5.9619999 6.0009999,5.9619999 6.0009999,10 4.0009999,10 4.0009999,5.9619999 0,5.9619999 0,3.9619999 4.0009999,3.9619999 z" />
                                </RepeatButton>
                            </Grid>

                        </Grid>
                        <Rectangle x:Name="FocusVisual" Stroke="#FF000000"
								Opacity="0" StrokeDashArray="1 2" StrokeThickness="1" RadiusX="2"
								RadiusY="2" />
                        <!--Error Visual Element-->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="map:RadMap"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=map:RadMap}"
		 >
        <Setter Property="Background" Value="{StaticResource MapBackground}" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="map:RadMap">
                    <Grid>

                        <maps:TileLayer x:Name="PART_TileLayer" 
                                        BorderThickness="{TemplateBinding BorderThickness}" 
                                        BorderBrush="{TemplateBinding BorderBrush}" 
                                        Background="{TemplateBinding Background}" 
                                        telerikControls:StyleManager.Theme="{StaticResource Theme}" 
                                        Grid.RowSpan="2" />
                        <maps:MouseControl x:Name="PART_MouseControl" Grid.RowSpan="2" />
                        <ItemsPresenter Grid.RowSpan="2" />
                        
                        <Grid HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="5">
                            <Grid.RowDefinitions>
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                            </Grid.RowDefinitions>
                            
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            
                            <Border x:Name="PART_DefaultLayoutDecorator" Visibility="Collapsed" 
                                    Grid.Row="1" Grid.ColumnSpan="3" 
                                    Height="34" 
                                    BorderThickness="1" 
                                    BorderBrush="{StaticResource MapDefaultLayoutOuterBorderBrush}"
                                    CornerRadius="{StaticResource MapDefaultLayoutOuterCornerRadius}">
                                <Border x:Name="PART_DefaultLayoutInnerDecorator" Background="{StaticResource MapDefaultLayoutBackground}"
                                        BorderThickness="1" 
                                        BorderBrush="{StaticResource MapDefaultLayoutBorderBrush}"
                                        CornerRadius="{StaticResource MapDefaultLayoutCornerRadius}" />
                            </Border>

                            <maps:MapCommandBar x:Name="PART_MapCommandBar" telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                    Visibility="Collapsed" Grid.Row="1" Grid.Column="0" Margin="6,0,6,0" />

                            <maps:MapNavigation Grid.Column="1" Grid.RowSpan="3" x:Name="PART_MapNavigation" telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                    Visibility="Collapsed" />

                            <maps:MapZoomBar Grid.Row="1"  Grid.Column="2" x:Name="PART_MapZoomBar" telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                    Visibility="Collapsed" Margin="6,0,6,0" />
                        </Grid>

                        <maps:MapScale x:Name="PART_MapScale"
                                       telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                       Grid.RowSpan="2"
									   Height="20"
									   Margin="0,0,20,20"
                                       Visibility="Collapsed"
									   DistanceUnit="{TemplateBinding DistanceUnit}"
									   VerticalAlignment="Bottom"
									   HorizontalAlignment="Right" />

						<maps:MapMouseLocationIndicator x:Name="PART_MapMouseLocationIndicator" 
                                                        telerikControls:StyleManager.Theme="{StaticResource Theme}" 
														Height="20"
                                                        MinWidth="190"
														Margin="10,0,0,20"
														Visibility="Collapsed"
														VerticalAlignment="Bottom" 
														HorizontalAlignment="Left"/>

					</Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>

	<Style TargetType="maps:TileLayer"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:TileLayer}"
		 >
		<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:TileLayer">
                    <Border Background="{TemplateBinding Background}"
                              BorderBrush="{TemplateBinding BorderBrush}"
                              BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid x:Name="PART_TileGrid" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

	<Style TargetType="maps:InformationLayer"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType= telerik:TransparentTheme , ElementType=maps:InformationLayer}"
		 >
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="maps:InformationLayer">
					<Border Background="{TemplateBinding Background}"
                              BorderBrush="{TemplateBinding BorderBrush}"
                              BorderThickness="{TemplateBinding BorderThickness}">
						<Grid>
							<Canvas>
								<ItemsPresenter />
							</Canvas>
						</Grid>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="ItemsPanel">
			<Setter.Value>
				<ItemsPanelTemplate>
					<maps:MapCanvas />
				</ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="maps:DynamicLayer"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:DynamicLayer}"
		 >
		<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:DynamicLayer">
                    <Border Background="{TemplateBinding Background}"
                              BorderBrush="{TemplateBinding BorderBrush}"
                              BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
							<Canvas>
								<ItemsPresenter />
							</Canvas>
						</Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
					<maps:MapCanvas />
				</ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="maps:MouseControl"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:MouseControl}"
		 >
		<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MouseControl">
                    <Canvas>
                        <Rectangle x:Name="PART_PixelBox"
                                     Fill="#3E1157DC" 
                                     Stroke="#FF0781F7" 
                                     StrokeDashArray="20, 8" 
                                     StrokeEndLineCap="Round" 
                                     StrokeDashCap="Round" 
                                     StrokeThickness="1.5" 
								     RadiusY="8" RadiusX="8"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="ZoomLevelButtonStyle" TargetType="telerikControls:RadButton"> 
        <Setter Property="MinWidth" Value="55" />
        <Setter Property="FontSize" Value="11" />
        <Setter Property="FontWeight" Value="Bold" />  
    </Style>   

    <Style TargetType="maps:Arrow">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid>
                        <Path Fill="White" 
                                Stretch="Fill"  
                                HorizontalAlignment="Center" 
                                VerticalAlignment="Center" 
                                Width="8" 
                                Height="4"
                                Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z"
                                RenderTransformOrigin="0.5,0.5" >
                            <Path.RenderTransform>
                                <RotateTransform x:Name="PART_OuterArrowTransform" />
                            </Path.RenderTransform>
                        </Path>

                        <Path Stretch="Fill" 
                                 Fill="{StaticResource MapInnerArrowFill}" 
                                 HorizontalAlignment="Center"
                                 VerticalAlignment="Center" 
                                 Width="8" 
                                 Height="4"
                                 Margin="0,0,0,2"
                                 Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z" 
                                 RenderTransformOrigin="0.5,0.5"   >
                            <Path.RenderTransform>
                                <RotateTransform x:Name="PART_InnerArrowTransform" />
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="maps:MapNavigation"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:MapNavigation}"
		 >
		<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapNavigation">
					<Grid x:Name="mapNavigation" Background="Transparent" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>

                        <telerikControls:RadButton x:Name="PART_ArrowLeft" 
                                                  telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                  Grid.RowSpan="2"
                                                  Margin="{StaticResource MapNavigationButtonLeftMargin}"
                                                  HorizontalAlignment="Right"
                                                  VerticalAlignment="Center"
                                                  Background="{StaticResource MapNavigationButtonLeftBackground}"
					                              BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
                                                  CornerRadius="{StaticResource MapNavigationButtonLeftCornerRadius}"
                                                  Width="{StaticResource MapNavigationButtonWidth}"
                                                  Height="{StaticResource MapNavigationButtonHeight}"
                                                  Opacity="{StaticResource MapNavigationButtonOpacity}" >
                            <maps:Arrow telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                        Margin="{StaticResource MapNavigationArrowLeftMargin}" Direction="Left" />
                        </telerikControls:RadButton>

                        <telerikControls:RadButton x:Name="PART_ArrowRight" 
                                                  telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                  Grid.Column="1" 
                                                  Grid.RowSpan="2" 
                                                  Margin="{StaticResource MapNavigationButtonRightMargin}"
                                                  HorizontalAlignment="Left"
                                                  VerticalAlignment="Center"
                                                  Background="{StaticResource MapNavigationButtonRightBackground}"
					                              BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
                                                  CornerRadius="{StaticResource MapNavigationButtonRightCornerRadius}"
                                                  Width="{StaticResource MapNavigationButtonWidth}"
                                                  Height="{StaticResource MapNavigationButtonHeight}"
                                                  Opacity="{StaticResource MapNavigationButtonOpacity}">
                            <maps:Arrow telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                        Margin="{StaticResource MapNavigationArrowRightMargin}" Direction="Right" />
                        </telerikControls:RadButton>

                        <telerikControls:RadButton x:Name="PART_ArrowUp" 
                                                  telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                  Grid.ColumnSpan="2"
                                                  Margin="{StaticResource MapNavigationButtonUpMargin}"
                                                  HorizontalAlignment="Center"
                                                  VerticalAlignment="Bottom" 
                                                  Background="{StaticResource MapNavigationButtonUpBackground}"
					                              BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
                                                  CornerRadius="{StaticResource MapNavigationButtonUpCornerRadius}"
                                                  Width="{StaticResource MapNavigationButtonHeight}"
                                                  Height="{StaticResource MapNavigationButtonWidth}"
                                                  Opacity="{StaticResource MapNavigationButtonOpacity}">
                            <maps:Arrow telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                        Margin="{StaticResource MapNavigationArrowUpMargin}" Direction="Up" />
                        </telerikControls:RadButton>
                        
                        <telerikControls:RadButton x:Name="PART_ArrowDown" 
                                                  telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                  Grid.Row="1" 
                                                  Grid.ColumnSpan="2" 
                                                  Margin="{StaticResource MapNavigationButtonDownMargin}"
                                                  HorizontalAlignment="Center"
                                                  VerticalAlignment="Top"
                                                  Background="{StaticResource MapNavigationButtonDownBackground}"
					                              BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
                                                  CornerRadius="{StaticResource MapNavigationButtonDownCornerRadius}"
                                                  Width="{StaticResource MapNavigationButtonHeight}"
                                                  Height="{StaticResource MapNavigationButtonWidth}"
                                                  Opacity="{StaticResource MapNavigationButtonOpacity}">
                            <maps:Arrow telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                        Margin="{StaticResource MapNavigationArrowDownMargin}"  Direction="Down" />
                        </telerikControls:RadButton>

                        <Ellipse StrokeThickness="5" 
                                 Width="47" 
                                 Height="47"
                                 VerticalAlignment="Center"
                                 HorizontalAlignment="Center"
                                 Grid.RowSpan="2"
                                 Grid.ColumnSpan="2"
                                 Fill="{StaticResource MapNavigationCenterEllipseBackground}"
                                 Stroke="{StaticResource MapNavigationCenterEllipseStroke}" />

                        <telerikControls:RadButton x:Name="PART_CenterButton"
                                                   telerikControls:StyleManager.Theme="{StaticResource Theme}" 
                                                   Background="{StaticResource MapNavigationCenterButtonBackground}"
                                                   Height="{StaticResource MapNavigationCenterButtonSize}" 
                                                   Width="{StaticResource MapNavigationCenterButtonSize}"  
                                                   BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
                                                   BorderThickness="{StaticResource MapNavigationCenterButtonBorderThickness}"                      
                                                   Opacity="{StaticResource MapNavigationButtonOpacity}"
                                                   CornerRadius="{StaticResource MapNavigationCenterButtonCornerRadius}"
                                                   HorizontalAlignment="Center"
                                                   VerticalAlignment="Center" 
                                                   Grid.RowSpan="2"
                                                   Grid.ColumnSpan="2" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="maps:MapZoomBar"
		
        x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme , ElementType=maps:MapZoomBar}"
         >
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapZoomBar">
                    <Grid x:Name="mapNavigation" Background="Transparent">
                        <telerikControls:RadDropDownButton x:Name="PART_MapNavigationDropDown"
                                                           telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                           Grid.Column="1" 
                                                           HorizontalAlignment="Center" 
                                                           VerticalAlignment="Center" 
                                                           ClickMode="Hover" 
                                                           CloseOnEscape="True"  
                                                           DropDownPlacement="Top" 
                                                           DropDownIndicatorVisibility="Collapsed" 
                                                           DropDownHeight="200"
                                                           Width="36"
                                                           Height="26" 
                                                           CornerRadius="3"
                                                           Background="{StaticResource MapDropDownButtonBackground}"
					                                       BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"> 
                            <telerikControls:RadDropDownButton.DropDownContent>
                                <Grid x:Name="PART_DropDownPopupWrapper" Background="#01ffffff" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                    <Border BorderBrush="{StaticResource MapDropDownOuterBorderBrush}"
                                                Background="{StaticResource MapDropDownOuterBackground}"
                                                BorderThickness="1,1,1,0" 
                                                CornerRadius="3" 
                                                HorizontalAlignment="Left"
                                                Width="42">
                                        <Border Background="{StaticResource MapDropDownBackground}"
                                                BorderBrush="{StaticResource MapDropDownBorderBrush}" 
                                                BorderThickness="1,1,1,0" 
                                                CornerRadius="2"
                                                HorizontalAlignment="Center"
                                                Width="40" />
                                    </Border>
                                    
                                    <telerikControls:RadSlider Grid.ColumnSpan="2" x:Name="PART_ZoomSlider" Margin="8,0,0,0"
                                                           Style="{StaticResource MapSlider}"
                                                           HorizontalAlignment="Left" VerticalAlignment="Stretch" 
									                       Minimum="1" 
									                       Maximum="20" />

                                    <StackPanel x:Name="PART_ZoomPresetsPanel" Margin="35,0,0,0"
                                                Grid.Column="1" Grid.ColumnSpan="2" VerticalAlignment="Center" HorizontalAlignment="Left">
                                        <telerikControls:RadButton telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                               telerikControls:LocalizationManager.ResourceKey="MapPresetZoomLevelNeighborhood"
                                                               Tag="NeighborhoodLevel"
                                                               Height="24"
                                                               Margin="0,1"
                                                               Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                               CornerRadius="3"
                                                               Padding="7,0"
                                                               FontSize="11"
                                                               FontWeight="Bold"
                                                               Background="{StaticResource MapButtonBackground}"
				                                               BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"/>
                                        <telerikControls:RadButton telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                               telerikControls:LocalizationManager.ResourceKey="MapPresetZoomLevelCity"
                                                               Tag="CityLevel"
                                                               Height="24"
                                                               Margin="0,1"
                                                               Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                               CornerRadius="3"
                                                               Padding="7,0"
                                                               FontSize="11"
                                                               FontWeight="Bold"
                                                               Background="{StaticResource MapButtonBackground}"
				                                               BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}" />
                                        <telerikControls:RadButton telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                               telerikControls:LocalizationManager.ResourceKey="MapPresetZoomLevelRegion"
                                                               Tag="RegionLevel"
                                                               Height="24"
                                                               Margin="0,1"
                                                               Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                               CornerRadius="3"
                                                               Padding="7,0"
                                                               FontSize="11"
                                                               FontWeight="Bold"
                                                               Background="{StaticResource MapButtonBackground}"
				                                               BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}" />
                                        <telerikControls:RadButton telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                               telerikControls:LocalizationManager.ResourceKey="MapPresetZoomLevelState"
                                                               Tag="StateLevel"
                                                               Height="24"
                                                               Margin="0,1"
                                                               Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                               CornerRadius="3"
                                                               Padding="10,0"
                                                               FontSize="11"
                                                               FontWeight="Bold"
                                                               Background="{StaticResource MapButtonBackground}"
				                                               BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}" />
                                        <telerikControls:RadButton telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                               telerikControls:LocalizationManager.ResourceKey="MapPresetZoomLevelWorld"
                                                               Tag="WorldLevel"
                                                               Height="24"
                                                               Margin="0,1"
                                                               Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                               CornerRadius="3"
                                                               Padding="7,0"
                                                               FontSize="11"
                                                               FontWeight="Bold"
                                                               Background="{StaticResource MapButtonBackground}"
				                                               BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"  />
                                    </StackPanel>
                                </Grid>
                            </telerikControls:RadDropDownButton.DropDownContent>

                            <!-- Magnifier element -->
                            <Grid>
                                <Path Stretch="Fill" 
                                      StrokeThickness="2" 
                                      Width="{StaticResource MapMagnifierPathSize}" 
                                      Height="{StaticResource MapMagnifierPathSize}" 
                                      Data="M13.952573,12.273359 L21.023642,19.588496 19.609426,21.00271 12.53836,13.687573 z M8,1 C11.865993,1.0000001 15,4.1340071 15,8.0000001 15,11.865994 11.865993,15 8,15 4.134007,15 1,11.865994 1,8.0000001 1,4.1340071 4.134007,1.0000001 8,1 z"
                                      Stroke="{StaticResource MapMagnifierPathStroke}"
                                      Fill="{StaticResource MapMagnifierPathFill}">
                                    <Path.Effect>
                                        
                                        <telerikControls:IsFullTrust>
                                            <![CDATA[
                                            <DropShadowEffect xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                                                BlurRadius="3" Color="White" ShadowDepth="0" />
                                            ]]>
                                        </telerikControls:IsFullTrust>
                                        
                                        
                                    </Path.Effect>
                                </Path>
                                <Ellipse HorizontalAlignment="Left"
                                         VerticalAlignment="Top"
                                         Margin="3,4,0,0"
                                         Width="7" 
                                         Height="7"
                                         Fill="{StaticResource MapMagnifierEllipseFill}" />
                            </Grid>
                        </telerikControls:RadDropDownButton>

                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="maps:MapScale"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:MapScale}"
		 >
		<Setter Property="FontFamily" Value="Arial" />
        <Setter Property="FontSize" Value="10" />
        <Setter Property="Foreground" Value="{StaticResource MapScaleForeground}" />
        <Setter Property="Background" Value="{StaticResource MapScaleBackground}" />
        <Setter Property="BorderBrush" Value="{StaticResource MapScaleBorderBrush}" />
        <Setter Property="StrokeThickness" Value="1" />

        <Setter Property="ScaleLabelBackground" Value="{StaticResource MapScaleLabelBackground}" />
        <Setter Property="ScaleLabelBorderBrush" Value="{StaticResource MapScaleLabelBorderBrush}" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapScale">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Rectangle x:Name="PART_Rectangle"
                                   Grid.Column="0"
								   Fill="{TemplateBinding Background}"
                                   Stroke="{TemplateBinding BorderBrush}"
                                   StrokeThickness="{TemplateBinding StrokeThickness}"
                                   Height="6"
                                   RadiusX="1"
                                   RadiusY="1" />

                        <Border Grid.Column="1"
                                BorderBrush="{StaticResource MapScaleLabelOuterBorderBrush}"
                                BorderThickness="{StaticResource MapScaleLabelOuterBorderThickness}"
                                CornerRadius="{StaticResource MapScaleLabelOuterCornerRadius}"
                                Margin="5,0">
                            <Border Background="{TemplateBinding ScaleLabelBackground}"
                                    BorderBrush="{TemplateBinding ScaleLabelBorderBrush}"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    Padding="5,3"
                                    CornerRadius="{StaticResource MapScaleLabelCornerRadius}">
                                <TextBlock x:Name="PART_TextBlock"
								           HorizontalAlignment="Center"
                                           VerticalAlignment="Center" />
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="maps:MapCommandBar"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:MapCommandBar}"
		 >
		<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapCommandBar">
                    <telerikControls:RadDropDownButton x:Name="PART_MapCommandDropDown" 
                                                         telerikControls:StyleManager.Theme="{StaticResource Theme}" 
                                                         ClickMode="Hover" 
                                                         CloseOnEscape="True"
                                                         DropDownPlacement="Top" 
                                                         DropDownIndicatorVisibility="Collapsed" 
                                                         DropDownButtonPosition="Left"
                                                         Width="36"
                                                         Height="26"
                                                         CornerRadius="3"
                                                         Background="{StaticResource MapDropDownButtonBackground}"
					                                     BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">
                        <telerikControls:RadDropDownButton.DropDownContent>
                            
                            <Grid x:Name="PART_DropDownPopupWrapper" Background="#01ffffff" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                <Border HorizontalAlignment="Right" 
                                        Width="42" 
                                        BorderBrush="{StaticResource MapDropDownOuterBorderBrush}"
                                        Background="{StaticResource MapDropDownOuterBackground}"
                                        BorderThickness="1,1,1,0" 
                                        CornerRadius="3">
                                    <Border Width="40"
                                            Background="{StaticResource MapDropDownBackground}"
                                            BorderBrush="{StaticResource MapDropDownBorderBrush}" 
                                            BorderThickness="1,1,1,0" 
                                            CornerRadius="2" />
                                </Border>

                                <StackPanel VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,5,5,5">
                                    <telerikControls:RadRadioButton x:Name="PART_MapStyle_Road" HorizontalContentAlignment="Stretch"
                                                                    telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                                    Tag="Road"
                                                                    Height="26"
                                                                    Margin="0,2"
                                                                    Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                                    CornerRadius="3"
                                                                    Background="{StaticResource MapButtonBackground}"
					                                                BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">
                                        <Grid HorizontalAlignment="Stretch">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition Width="32" />
                                            </Grid.ColumnDefinitions>

                                            <TextBlock telerikControls:LocalizationManager.ResourceKey="MapRoadCommand"
                                                       TextAlignment="Center" HorizontalAlignment="Stretch" Padding="7,0"
                                                       FontSize="11" FontWeight="Bold" Foreground="{TemplateBinding Foreground}" />
                                            <Image Grid.Column="1" Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center">
                                                <Image.Source>
                                                    <BitmapImage UriSource="/Telerik.Windows.Controls.DataVisualization;component/themes/map/road.png" />
                                                </Image.Source>
                                            </Image>
                                        </Grid>
                                    </telerikControls:RadRadioButton>
                                    <telerikControls:RadRadioButton x:Name="PART_MapStyle_Aerial" HorizontalContentAlignment="Stretch"
                                                                    telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                                    Tag="Aerial"
                                                                    Height="26"
                                                                    Margin="0,2"
                                                                    Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                                    CornerRadius="3"
                                                                    Background="{StaticResource MapButtonBackground}"
					                                                BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">

                                        <Grid HorizontalAlignment="Stretch">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition Width="32" />
                                            </Grid.ColumnDefinitions>

                                            <TextBlock telerikControls:LocalizationManager.ResourceKey="MapAerialCommand"
                                                       TextAlignment="Center" HorizontalAlignment="Stretch" Padding="7,0"
                                                       FontSize="11" FontWeight="Bold" Foreground="{TemplateBinding Foreground}" />
                                            <Image Grid.Column="1" Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center">
                                                <Image.Source>
                                                    <BitmapImage UriSource="/Telerik.Windows.Controls.DataVisualization;component/themes/map/aerial.png" />
                                                </Image.Source>
                                            </Image>
                                        </Grid>
                                    </telerikControls:RadRadioButton>
                                    <telerikControls:RadRadioButton x:Name="PART_MapStyle_Birdseye" HorizontalContentAlignment="Stretch"
                                                                    telerikControls:StyleManager.Theme="{StaticResource Theme}"
                                                                    Tag="Birdseye"
                                                                    Height="26"
                                                                    Margin="0,2"
                                                                    Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                                    CornerRadius="3"
                                                                    Background="{StaticResource MapButtonBackground}"
					                                                BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">
                                        
                                        <Grid HorizontalAlignment="Stretch">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition Width="32" />
                                            </Grid.ColumnDefinitions>

                                            <TextBlock telerikControls:LocalizationManager.ResourceKey="MapBirdseyeCommand"
                                                       TextAlignment="Center" HorizontalAlignment="Stretch" Padding="7,0"
                                                       FontSize="11" FontWeight="Bold" Foreground="{TemplateBinding Foreground}" />
                                            <Image Grid.Column="1" Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center">
                                                <Image.Source>
                                                    <BitmapImage UriSource="/Telerik.Windows.Controls.DataVisualization;component/themes/map/birdeye.png" />
                                                </Image.Source>
                                            </Image>
                                        </Grid>
                                    </telerikControls:RadRadioButton>
                                    <telerikControls:RadToggleButton x:Name="PART_IsLabelVisible" HorizontalContentAlignment="Stretch"
                                                                        telerikControls:StyleManager.Theme="{StaticResource Theme}" 
                                                                        Tag="Label" 
                                                                        Height="26"
                                                                        Margin="0,3"
                                                                        CornerRadius="3"
                                                                        Opacity="{StaticResource MapDropDownButtonOpacity}"
                                                                        Background="{StaticResource MapButtonBackground}"
					                                                    BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">
                                        
                                        <Grid HorizontalAlignment="Stretch">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition Width="32" />
                                            </Grid.ColumnDefinitions>

                                            <TextBlock telerikControls:LocalizationManager.ResourceKey="MapLabelsVisibleCommand"
                                                       TextAlignment="Center" HorizontalAlignment="Stretch" Padding="7,0"
                                                       FontSize="11" FontWeight="Bold" Foreground="{TemplateBinding Foreground}" />
                                            <Image Grid.Column="1" Width="16" Height="16" HorizontalAlignment="Center" VerticalAlignment="Center">
                                                <Image.Source>
                                                    <BitmapImage UriSource="/Telerik.Windows.Controls.DataVisualization;component/themes/map/label.png" />
                                                </Image.Source>
                                            </Image>
                                        </Grid>
                                    </telerikControls:RadToggleButton>
                                </StackPanel>
                            </Grid>
                        </telerikControls:RadDropDownButton.DropDownContent>

                        <!-- Eye element -->
                        <Grid>
                            <Path Stretch="Fill" 
                                     StrokeThickness="2" 
                                     Margin="0,2,0,0" 
                                     Width="24" 
                                     Height="12" 
                                     Data="M23,6 C23,7.545 18.075132,11 12,11 5.9248678,11 1,6.955 1,6 1,5.045 5.9248678,1 12,1 18.075132,1 23,4.455 23,6 z" 
                                     Stroke="{StaticResource MapEyePathShadowStroke}"
                                     Fill="{StaticResource MapEyePathShadowFill}" />
                            <Path Stretch="Fill" 
                                     StrokeThickness="2" 
                                     HorizontalAlignment="Center" 
                                     VerticalAlignment="Center" 
                                     Width="24" 
                                     Height="12" 
                                     Data="M23,6 C23,7.545 18.075132,11 12,11 5.9248678,11 1,6.955 1,6 1,5.045 5.9248678,1 12,1 18.075132,1 23,4.455 23,6 z"
                                     Stroke="{StaticResource MapEyePathStroke}"
                                     Fill="{StaticResource MapEyePathFill}" />
                            <Ellipse Width="13"
                                     Height="13"
                                     HorizontalAlignment="Center" 
                                     VerticalAlignment="Center" 
                                     Fill="{StaticResource MapEyeBigEllipseFill}" />
                            <Ellipse StrokeThickness="2" 
                                        HorizontalAlignment="Center" 
                                        VerticalAlignment="Center" 
                                        Width="7.162" 
                                        Height="7.162"
                                        Stroke="{StaticResource MapEyeEllipseStroke}"
                                        Fill="{StaticResource MapEyeEllipseFill}" />
                        </Grid>
                    </telerikControls:RadDropDownButton>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="maps:MapPinPoint"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:MapPinPoint}"
		 >
		<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapPinPoint">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}" 
                            BorderThickness="1" 
                            CornerRadius="3"
                            Padding="2,2,2,2">
                        <StackPanel Name="PART_Panel" Orientation="Horizontal">
                            <Image Name="PART_Image" Visibility="Collapsed" Stretch="None" Source="{TemplateBinding ImageSource}" />
                            <TextBlock Name="PART_Text" Margin="2,0,0,0" VerticalAlignment="Center" Text="{TemplateBinding Text}" />
                        </StackPanel>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

	<Style TargetType="maps:Pushpin"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme , ElementType=maps:Pushpin}"
		 >
        <Setter Property="Background" Value="{StaticResource MapPushpinBackground}" />
		<Setter Property="maps:MapLayer.HotSpot" Value="0.5,Fraction,40,InsetPixels" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="maps:Pushpin">
                    <Border>
                        <maps:MapLayer.HotSpot>
							<maps:HotSpot X="0.5" Y="40" XUnits="Fraction" YUnits="InsetPixels" />
                        </maps:MapLayer.HotSpot>
                        <Path Stretch="None" 
                              Stroke="{StaticResource MapPushpinStroke}" 
                              StrokeThickness="6" 
                              Data="M12,26.083 L16,26.083 13.916667,32.083 z M14,3 C20.075132,3 25,7.9248676 25,14 25,20.075132 20.075132,25 14,25 7.9248677,25 3,20.075132 3,14 3,7.9248676 7.9248677,3 14,3 z"
                              Fill="{TemplateBinding Background}">
                            <Path.Effect>
                                
                                <telerikControls:IsFullTrust>
                                    <![CDATA[
                                    <DropShadowEffect xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                                        BlurRadius="7" ShadowDepth="1" />
                                    ]]>
                                </telerikControls:IsFullTrust>
                                
                                
                            </Path.Effect>
                        </Path>
                    </Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
		
	<DataTemplate x:Key="DefaultInformationLayerTemplate">
		<maps:Pushpin />
	</DataTemplate>

    <Style TargetType="maps:Balloon"
		
        x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme , ElementType=maps:Balloon}"
         >
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:Balloon">
                    <Border Background="{TemplateBinding Background}" 
                            BorderBrush="{TemplateBinding BorderBrush}" 
                            BorderThickness="{TemplateBinding BorderThickness}"
                            CornerRadius="5">
                        <Grid Margin="5,5,5,5">
                            <ContentPresenter Content="{TemplateBinding Content}" 
                                              ContentTemplate="{TemplateBinding ContentTemplate}" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

	<Style TargetType="maps:MapMouseLocationIndicator"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=telerik:TransparentTheme, ElementType=maps:MapMouseLocationIndicator}"
		 >
		<Setter Property="FontFamily" Value="Arial" />
		<Setter Property="FontSize" Value="10" />
		<Setter Property="Foreground" Value="{StaticResource MapScaleForeground}" />
		<Setter Property="Background" Value="{StaticResource MapScaleBackground}" />
		<Setter Property="BorderBrush" Value="{StaticResource MapScaleBorderBrush}" />
		<Setter Property="StrokeThickness" Value="1" />

		<Setter Property="IndicatorLabelBackground" Value="{StaticResource MapScaleLabelBackground}" />
		<Setter Property="IndicatorLabelBorderBrush" Value="{StaticResource MapScaleLabelBorderBrush}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="maps:MapMouseLocationIndicator">
					<Grid>
						<Border Grid.Column="1"
                                BorderBrush="{StaticResource MapScaleLabelOuterBorderBrush}"
                                BorderThickness="{StaticResource MapScaleLabelOuterBorderThickness}"
                                CornerRadius="{StaticResource MapScaleLabelOuterCornerRadius}"
                                Margin="5,0">
							<Border Background="{TemplateBinding IndicatorLabelBackground}"
                                    BorderBrush="{TemplateBinding IndicatorLabelBorderBrush}"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    Padding="5,3"
                                    CornerRadius="{StaticResource MapScaleLabelCornerRadius}">
								<TextBlock x:Name="PART_TextBlock"
								           HorizontalAlignment="Center"
                                           VerticalAlignment="Center" />
							</Border>
						</Border>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="maps:MapLegendCanvasItem"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=
		telerik:TransparentTheme , ElementType=maps:MapLegendCanvasItem}"
		 >
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="maps:MapLegendCanvasItem">
					<Canvas>
						<TextBlock x:Name="PART_MinLabel" Text="{TemplateBinding Min}" />
						<TextBlock x:Name="PART_MaxLabel" Text="{TemplateBinding Max}" />
						<Rectangle x:Name="PART_Rectangle" 
								   Width="{TemplateBinding MarkerWidth}" 
								   Height="{TemplateBinding MarkerHeight}" 
								   RadiusX="{TemplateBinding RadiusX}" 
								   RadiusY="{TemplateBinding RadiusY}" 
								   Fill="{TemplateBinding Fill}"
								   Stroke="{TemplateBinding Stroke}"
								   StrokeThickness="{TemplateBinding StrokeThickness}"/>
					</Canvas>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style TargetType="maps:MapLegend"
		
		x:Key="{telerikControls:ThemeResourceKey ThemeType=
		telerik:TransparentTheme , ElementType=maps:MapLegend}"
		 >
        <Setter Property="Background" Value="#ABFFFFFF" />
        <Setter Property="BorderBrush" Value="#FFFFFFFF" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Padding" Value="12,10" />
        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
        <Setter Property="VerticalContentAlignment" Value="Stretch" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="maps:MapLegend">
					<Border Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid Margin="{TemplateBinding Padding}">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="*" />
                            </Grid.RowDefinitions>
                            <ContentControl x:Name="PART_HeaderContentControl"
                                            Foreground="{TemplateBinding Foreground}" 
                                            Content="{TemplateBinding Header}" 
                                            ContentTemplate="{TemplateBinding HeaderTemplate}"/>
                            <ItemsPresenter Grid.Row="1"
                                            HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                            VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
                        </Grid>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="ItemsPanel">
			<Setter.Value>
				<ItemsPanelTemplate>
					<maps:MapLegendCanvas />
				</ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<DataTemplate x:Key="MapShapeDataTemplate">
		<Canvas x:Name="PART_ShapeCanvas" />
	</DataTemplate>

	
    
</ResourceDictionary>
