Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 2340 → Rev 2341

/MKLiveView/v1.0/Source/GMapCustomMarkers/CustomMarkerWPActive.xaml
0,0 → 1,20
<UserControl x:Class="MKLiveView.GMapCustomMarkers.CustomMarkerWPActive"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="28.2" Width="28.26">
<Grid Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28" RenderTransformOrigin="0,0" Margin="0,0,-2,-2">
<Ellipse x:Name="ellipse" Stroke="Magenta" StrokeThickness="0">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop Color="#FFAC0000" Offset="0.873"/>
<GradientStop Color="#FFFF7F00" Offset="0.942"/>
<GradientStop Offset="0.536"/>
<GradientStop Color="#FFFF6060" Offset="0.993"/>
</RadialGradientBrush>
</Ellipse.Fill>
<Ellipse.Effect>
<DropShadowEffect BlurRadius="9" Direction="40" Opacity="0.79" Color="#FF342E2E"/>
</Ellipse.Effect>
</Ellipse>
</Grid>
</UserControl>
/MKLiveView/v1.0/Source/GMapCustomMarkers/CustomMarkerWPActive.xaml.cs
0,0 → 1,37
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Media;
using GMap.NET.WindowsPresentation;
using System.Diagnostics;
 
namespace MKLiveView.GMapCustomMarkers
{
public partial class CustomMarkerWPActive
{
//Popup Popup;
//Label Label;
GMapMarker Marker;
MainWindow MainWindow;
int _type = 0;
 
public CustomMarkerWPActive(MainWindow window, GMapMarker marker, string title, int type)
{
this.InitializeComponent();
 
this.MainWindow = window;
this.Marker = marker;
_type = type;
}
void CustomMarkerWPActive_Unloaded(object sender, RoutedEventArgs e)
{
Marker.Shape = null;
}
public int WPType
{
get { return _type; }
set { _type = value; }
}
}
}