updated with workarounds suggested by Berthier
This commit is contained in:
Родитель
60bd6d9869
Коммит
4acdc7f463
Двоичные данные
DynamicPolyLine/DynamicPolyLine.v11.suo
Двоичные данные
DynamicPolyLine/DynamicPolyLine.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
GeoCoding/GeoCoding.v11.suo
Двоичные данные
GeoCoding/GeoCoding.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
HelloMap/HelloMap.v11.suo
Двоичные данные
HelloMap/HelloMap.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
MapEvents/MapEvents.v11.suo
Двоичные данные
MapEvents/MapEvents.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
MapInteraction/MapInteraction.v11.suo
Двоичные данные
MapInteraction/MapInteraction.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
MapMarkers/MapMarkers.v11.suo
Двоичные данные
MapMarkers/MapMarkers.v11.suo
Двоичный файл не отображается.
Двоичные данные
MapMarkers/MapMarkers/Bin/Debug/MapMarkers.dll
Двоичные данные
MapMarkers/MapMarkers/Bin/Debug/MapMarkers.dll
Двоичный файл не отображается.
Двоичные данные
MapMarkers/MapMarkers/Bin/Debug/MapMarkers.pdb
Двоичные данные
MapMarkers/MapMarkers/Bin/Debug/MapMarkers.pdb
Двоичный файл не отображается.
Двоичные данные
MapMarkers/MapMarkers/Bin/Debug/MapMarkers_Debug_AnyCPU.xap
Двоичные данные
MapMarkers/MapMarkers/Bin/Debug/MapMarkers_Debug_AnyCPU.xap
Двоичный файл не отображается.
|
@ -29,7 +29,7 @@ namespace MapMarkers
|
||||||
MapLayer oneMarkerLayer = null;
|
MapLayer oneMarkerLayer = null;
|
||||||
MapOverlay oneMarker = null;
|
MapOverlay oneMarker = null;
|
||||||
MapLayer markerLayer = null;
|
MapLayer markerLayer = null;
|
||||||
|
TextBlock MarkerTxt = null;
|
||||||
// Constructor
|
// Constructor
|
||||||
public MainPage()
|
public MainPage()
|
||||||
{
|
{
|
||||||
|
@ -39,25 +39,29 @@ namespace MapMarkers
|
||||||
|
|
||||||
PopupP = new Popup();
|
PopupP = new Popup();
|
||||||
|
|
||||||
map1.MouseLeftButtonUp +=map1_MouseLeftButtonUp;
|
System.Windows.Input.Touch.FrameReported += Touch_FrameReported;
|
||||||
map1.MouseMove += map1_MouseMove;
|
|
||||||
}
|
|
||||||
|
|
||||||
void map1_MouseMove(object sender, MouseEventArgs e)
|
|
||||||
{
|
|
||||||
Debug.WriteLine("map_MouseMove");
|
|
||||||
|
|
||||||
if (oneMarker != null && draggingNow)
|
|
||||||
{
|
|
||||||
oneMarker.GeoCoordinate = map1.ConvertViewportPointToGeoCoordinate(e.GetPosition(map1));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void map1_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
|
void Touch_FrameReported(object sender, TouchFrameEventArgs e)
|
||||||
|
{
|
||||||
|
if (draggingNow == true)
|
||||||
|
{
|
||||||
|
TouchPoint tp = e.GetPrimaryTouchPoint(map1);
|
||||||
|
|
||||||
|
if (tp.Action == TouchAction.Move)
|
||||||
|
{
|
||||||
|
if (oneMarker != null)
|
||||||
|
{
|
||||||
|
oneMarker.GeoCoordinate = map1.ConvertViewportPointToGeoCoordinate(tp.Position);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (tp.Action == TouchAction.Up)
|
||||||
{
|
{
|
||||||
Debug.WriteLine("map_MouseLeftButtonUp");
|
|
||||||
draggingNow = false;
|
draggingNow = false;
|
||||||
|
map1.IsEnabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,19 +226,16 @@ namespace MapMarkers
|
||||||
}
|
}
|
||||||
else if (sellected == "Change text")
|
else if (sellected == "Change text")
|
||||||
{
|
{
|
||||||
if (oneMarker != null)
|
if (MarkerTxt != null)
|
||||||
{
|
{
|
||||||
if (oneMarker.Content.ToString() == "Draggable")
|
Debug.WriteLine("change text now from " + MarkerTxt.Text);
|
||||||
|
if (MarkerTxt.Text == "Drag")
|
||||||
{
|
{
|
||||||
Debug.WriteLine("change text now from " + oneMarker.Content.ToString());
|
MarkerTxt.Text = "1234";
|
||||||
oneMarker.Content = "<H1>This is </H1>different text\n and more...";
|
|
||||||
|
|
||||||
// oneMarker.Content = "This is different text\nand more...";
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.WriteLine("change text now from " + oneMarker.Content.ToString());
|
MarkerTxt.Text = "Drag";
|
||||||
oneMarker.Content = "Draggable";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -333,20 +334,30 @@ namespace MapMarkers
|
||||||
oneMarkerLayer = new MapLayer();
|
oneMarkerLayer = new MapLayer();
|
||||||
oneMarker = new MapOverlay();
|
oneMarker = new MapOverlay();
|
||||||
|
|
||||||
Ellipse Circh = new Ellipse();
|
Canvas canCan = new Canvas();
|
||||||
Circh.Fill = new SolidColorBrush(Colors.Green);
|
|
||||||
Circh.Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Blue);
|
|
||||||
Circh.StrokeThickness = 8;
|
|
||||||
Circh.Opacity = 0.8;
|
|
||||||
Circh.Height = 50;
|
|
||||||
Circh.Width = 50;
|
|
||||||
|
|
||||||
oneMarker.Content = Circh;
|
Ellipse Circhegraphic = new Ellipse();
|
||||||
|
Circhegraphic.Fill = new SolidColorBrush(Colors.Brown);
|
||||||
|
Circhegraphic.Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Green);
|
||||||
|
Circhegraphic.StrokeThickness = 5;
|
||||||
|
Circhegraphic.Opacity = 0.8;
|
||||||
|
Circhegraphic.Height = 40;
|
||||||
|
Circhegraphic.Width = 60;
|
||||||
|
|
||||||
|
canCan.Children.Add(Circhegraphic);
|
||||||
|
MarkerTxt = new TextBlock { Text = "Drag" };
|
||||||
|
MarkerTxt.HorizontalAlignment = HorizontalAlignment.Center;
|
||||||
|
Canvas.SetLeft(MarkerTxt, 10);
|
||||||
|
Canvas.SetTop(MarkerTxt, 5);
|
||||||
|
Canvas.SetZIndex(MarkerTxt, 5);
|
||||||
|
|
||||||
|
canCan.Children.Add(MarkerTxt);
|
||||||
|
oneMarker.Content = canCan;
|
||||||
|
|
||||||
oneMarker.PositionOrigin = new Point(0.5, 0.5);
|
oneMarker.PositionOrigin = new Point(0.5, 0.5);
|
||||||
oneMarker.GeoCoordinate = new GeoCoordinate(60.35, 24.60);
|
oneMarker.GeoCoordinate = new GeoCoordinate(60.35, 24.60);
|
||||||
Circh.MouseLeftButtonDown += Circh_MouseLeftButtonDown;
|
MarkerTxt.MouseLeftButtonDown += Circh_MouseLeftButtonDown;
|
||||||
Circh.MouseLeftButtonUp += Circh_MouseLeftButtonUp;
|
|
||||||
|
|
||||||
oneMarkerLayer.Add(oneMarker);
|
oneMarkerLayer.Add(oneMarker);
|
||||||
map1.Layers.Add(oneMarkerLayer);
|
map1.Layers.Add(oneMarkerLayer);
|
||||||
|
@ -361,17 +372,11 @@ namespace MapMarkers
|
||||||
Debug.WriteLine("oneMarker_MouseLeftButtonDown");
|
Debug.WriteLine("oneMarker_MouseLeftButtonDown");
|
||||||
if (oneMarker != null)
|
if (oneMarker != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
draggingNow = true;
|
draggingNow = true;
|
||||||
|
map1.IsEnabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Circh_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
|
|
||||||
{
|
|
||||||
Debug.WriteLine("oneMarker_MouseLeftButtonUp");
|
|
||||||
draggingNow = false;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void FitToView(bool all)
|
void FitToView(bool all)
|
||||||
|
@ -477,6 +482,7 @@ namespace MapMarkers
|
||||||
map1.Layers.Remove(oneMarkerLayer);
|
map1.Layers.Remove(oneMarkerLayer);
|
||||||
oneMarker = null;
|
oneMarker = null;
|
||||||
oneMarkerLayer = null;
|
oneMarkerLayer = null;
|
||||||
|
MarkerTxt = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Двоичный файл не отображается.
|
@ -16,3 +16,21 @@ C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\MapMarkers.csproj.GenerateReso
|
||||||
C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\MapMarkers.dll
|
C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\MapMarkers.dll
|
||||||
C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\MapMarkers.pdb
|
C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\MapMarkers.pdb
|
||||||
C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\XapCacheFile.xml
|
C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\XapCacheFile.xml
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\ApplicationIcon.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\FlipCycleTileLarge.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\FlipCycleTileSmall.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\IconicTileMediumLarge.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\IconicTileSmall.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\MapMarkers.dll
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\MapMarkers.pdb
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\AppManifest.xaml
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\MapMarkers_Debug_AnyCPU.xap
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\App.g.cs
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MainPage.g.cs
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MapMarkers.g.resources
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MapMarkers.Resources.AppResources.resources
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MapMarkers.csproj.GenerateResource.Cache
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MapMarkers.dll
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MapMarkers.pdb
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\XapCacheFile.xml
|
||||||
|
|
Двоичные данные
MapMarkers/MapMarkers/obj/Debug/MapMarkers.dll
Двоичные данные
MapMarkers/MapMarkers/obj/Debug/MapMarkers.dll
Двоичный файл не отображается.
Двоичные данные
MapMarkers/MapMarkers/obj/Debug/MapMarkers.pdb
Двоичные данные
MapMarkers/MapMarkers/obj/Debug/MapMarkers.pdb
Двоичный файл не отображается.
|
@ -1,13 +1,13 @@
|
||||||
<xapCache source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Bin\Debug\MapMarkers_Debug_AnyCPU.xap" wasSigned="False" certificateThumbprint="" TimeStampUrl="" lastWriteTime="9/20/2012 12:13:32 PM">
|
<xapCache source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\MapMarkers_Debug_AnyCPU.xap" wasSigned="False" certificateThumbprint="" TimeStampUrl="" lastWriteTime="9/26/2012 11:28:19 AM">
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\obj\Debug\MapMarkers.dll" archivePath="MapMarkers.dll" lastWriteTime="9/20/2012 12:13:32 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\obj\Debug\MapMarkers.dll" archivePath="MapMarkers.dll" lastWriteTime="9/26/2012 11:28:18 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\SplashScreenImage.jpg" archivePath="SplashScreenImage.jpg" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\SplashScreenImage.jpg" archivePath="SplashScreenImage.jpg" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Bin\Debug\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="8/31/2012 12:05:38 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="8/31/2012 12:05:38 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Bin\Debug\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="8/31/2012 12:05:32 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MapMarkers\MapMarkers\Bin\Debug\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="9/20/2012 12:13:32 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MapMarkers\MapMarkers\Bin\Debug\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="9/20/2012 12:13:32 PM" />
|
||||||
</xapCache>
|
</xapCache>
|
Двоичные данные
MapRouting/MapRouting.v11.suo
Двоичные данные
MapRouting/MapRouting.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
MoreMapContent/MoreMapContent.v11.suo
Двоичные данные
MoreMapContent/MoreMapContent.v11.suo
Двоичный файл не отображается.
Двоичные данные
MoreMapContent/MoreMapContent/Bin/Debug/MoreMapContent.dll
Двоичные данные
MoreMapContent/MoreMapContent/Bin/Debug/MoreMapContent.dll
Двоичный файл не отображается.
Двоичные данные
MoreMapContent/MoreMapContent/Bin/Debug/MoreMapContent.pdb
Двоичные данные
MoreMapContent/MoreMapContent/Bin/Debug/MoreMapContent.pdb
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -24,7 +24,7 @@ namespace MoreMapContent
|
||||||
{
|
{
|
||||||
Popup PopupP;
|
Popup PopupP;
|
||||||
String selected_shape = "";
|
String selected_shape = "";
|
||||||
MapLayer Rectangle = null;
|
MapLayer Rectangle1 = null;
|
||||||
MapLayer Circle = null;
|
MapLayer Circle = null;
|
||||||
GeoCoordinate Circlepoint = null;
|
GeoCoordinate Circlepoint = null;
|
||||||
GeoCoordinate Rectangepoint = null;
|
GeoCoordinate Rectangepoint = null;
|
||||||
|
@ -211,9 +211,9 @@ namespace MoreMapContent
|
||||||
{
|
{
|
||||||
if (selected_shape == "Rectangle")
|
if (selected_shape == "Rectangle")
|
||||||
{
|
{
|
||||||
if (Rectangle == null)
|
if (Rectangle1 == null)
|
||||||
{
|
{
|
||||||
Rectangle = new MapLayer();
|
Rectangle1 = new MapLayer();
|
||||||
|
|
||||||
Rectangle rectanggle = new Rectangle();
|
Rectangle rectanggle = new Rectangle();
|
||||||
rectanggle.Opacity = 0.7;
|
rectanggle.Opacity = 0.7;
|
||||||
|
@ -233,8 +233,8 @@ namespace MoreMapContent
|
||||||
// pin1.PositionOrigin = PositionOrigin.Center;
|
// pin1.PositionOrigin = PositionOrigin.Center;
|
||||||
pin1.Content = rectanggle;
|
pin1.Content = rectanggle;
|
||||||
|
|
||||||
Rectangle.Add(pin1);
|
Rectangle1.Add(pin1);
|
||||||
map1.Layers.Add( Rectangle);
|
map1.Layers.Add(Rectangle1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (selected_shape == "Circle")
|
else if (selected_shape == "Circle")
|
||||||
|
@ -304,7 +304,7 @@ namespace MoreMapContent
|
||||||
double south = 0;
|
double south = 0;
|
||||||
double east = 0;
|
double east = 0;
|
||||||
|
|
||||||
if (selected_shape == "Rectangle" && (Rectangle != null))
|
if (selected_shape == "Rectangle" && (Rectangle1 != null))
|
||||||
{
|
{
|
||||||
map1.Center = Rectangepoint;
|
map1.Center = Rectangepoint;
|
||||||
}
|
}
|
||||||
|
@ -338,10 +338,10 @@ namespace MoreMapContent
|
||||||
{
|
{
|
||||||
if (selected_shape == "Rectangle")
|
if (selected_shape == "Rectangle")
|
||||||
{
|
{
|
||||||
if (Rectangle != null)
|
if (Rectangle1 != null)
|
||||||
{
|
{
|
||||||
map1.Layers.Remove(Rectangle);
|
map1.Layers.Remove(Rectangle1);
|
||||||
Rectangle = null;
|
Rectangle1 = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (selected_shape == "Circle")
|
else if (selected_shape == "Circle")
|
||||||
|
@ -367,35 +367,39 @@ namespace MoreMapContent
|
||||||
|
|
||||||
void ToggleVisibility()
|
void ToggleVisibility()
|
||||||
{
|
{
|
||||||
/* if (selected_shape == "Rectangle")
|
if (selected_shape == "Rectangle")
|
||||||
{
|
{
|
||||||
if (Rectangle != null)
|
if (Rectangle1 != null && (Rectangle1.Count() > 0))
|
||||||
{
|
{
|
||||||
if (Rectangle.Visibility == System.Windows.Visibility.Visible)
|
Rectangle rect = (Rectangle1[0].Content as Rectangle);
|
||||||
|
|
||||||
|
if (rect.Visibility == System.Windows.Visibility.Visible)
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set Rectangle Visibility off ");
|
Debug.WriteLine("Set Rectangle Visibility off ");
|
||||||
Rectangle.Visibility = System.Windows.Visibility.Collapsed;
|
rect.Visibility = System.Windows.Visibility.Collapsed;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set Rectangle Visibility on ");
|
Debug.WriteLine("Set Rectangle Visibility on ");
|
||||||
Rectangle.Visibility = System.Windows.Visibility.Visible;
|
rect.Visibility = System.Windows.Visibility.Visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (selected_shape == "Circle")
|
else if (selected_shape == "Circle")
|
||||||
{
|
{
|
||||||
if (Circle != null)
|
if (Circle != null && (Circle.Count() > 0))
|
||||||
{
|
{
|
||||||
if (Circle.Visibility == System.Windows.Visibility.Visible)
|
Ellipse circcle = (Circle[0].Content as Ellipse);
|
||||||
|
|
||||||
|
if (circcle.Visibility == System.Windows.Visibility.Visible)
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set Circle Visibility off ");
|
Debug.WriteLine("Set Circle Visibility off ");
|
||||||
Circle.Visibility = System.Windows.Visibility.Collapsed;
|
circcle.Visibility = System.Windows.Visibility.Collapsed;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set Circle Visibility on ");
|
Debug.WriteLine("Set Circle Visibility on ");
|
||||||
Circle.Visibility = System.Windows.Visibility.Visible;
|
circcle.Visibility = System.Windows.Visibility.Visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -403,20 +407,24 @@ namespace MoreMapContent
|
||||||
{
|
{
|
||||||
if (PolyCircle != null)
|
if (PolyCircle != null)
|
||||||
{
|
{
|
||||||
if (PolyCircle.Visibility == System.Windows.Visibility.Visible)
|
if (PolyCircle.StrokeColor == Color.FromArgb(0xFF, 0xFF, 0x00, 0xFF))
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set Polygon Visibility off ");
|
Debug.WriteLine("Set Polygon Visibility off ");
|
||||||
PolyCircle.Visibility = System.Windows.Visibility.Collapsed;
|
PolyCircle.FillColor = Color.FromArgb(0x00, 0xFF, 0xFF, 0x00);
|
||||||
PolyRect.Visibility = System.Windows.Visibility.Collapsed;
|
PolyCircle.StrokeColor = Color.FromArgb(0x00, 0xFF, 0x00, 0xFF);
|
||||||
|
PolyRect.FillColor = Color.FromArgb(0x00, 0x00, 0x00, 0x00);
|
||||||
|
PolyRect.StrokeColor = Color.FromArgb(0x00, 0xFF, 0xFF, 0xFF);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set Polygon Visibility on ");
|
Debug.WriteLine("Set Polygon Visibility on ");
|
||||||
PolyCircle.Visibility = System.Windows.Visibility.Visible;
|
PolyCircle.FillColor = Color.FromArgb(0x55, 0xFF, 0xFF, 0x00);
|
||||||
PolyRect.Visibility = System.Windows.Visibility.Visible;
|
PolyCircle.StrokeColor = Color.FromArgb(0xFF, 0xFF, 0x00, 0xFF);
|
||||||
|
PolyRect.FillColor = Color.FromArgb(0x55, 0x00, 0x00, 0x00);
|
||||||
|
PolyRect.StrokeColor = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SentToBack()
|
void SentToBack()
|
||||||
|
@ -425,6 +433,16 @@ namespace MoreMapContent
|
||||||
UIElement CircleElement = null;//Circle as UIElement;
|
UIElement CircleElement = null;//Circle as UIElement;
|
||||||
UIElement RectangleElement = null;//Rectangle as UIElement;
|
UIElement RectangleElement = null;//Rectangle as UIElement;
|
||||||
|
|
||||||
|
if (Rectangle1 != null && (Rectangle1.Count() > 0))
|
||||||
|
{
|
||||||
|
RectangleElement = (Rectangle1[0].Content as UIElement);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Circle != null && (Circle.Count() > 0))
|
||||||
|
{
|
||||||
|
CircleElement = (Circle[0].Content as UIElement);
|
||||||
|
}
|
||||||
|
|
||||||
var Polygon = 0;
|
var Polygon = 0;
|
||||||
var RectangleZ = 0;
|
var RectangleZ = 0;
|
||||||
var lineZ = 0;
|
var lineZ = 0;
|
||||||
|
@ -444,6 +462,8 @@ namespace MoreMapContent
|
||||||
RectangleZ = Canvas.GetZIndex(RectangleElement);
|
RectangleZ = Canvas.GetZIndex(RectangleElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Debug.WriteLine("Start values. RectangleZ: " + RectangleZ + ", circleZ: " + lineZ + ", PolygonZ: " + Polygon);
|
||||||
|
|
||||||
if (selected_shape == "Rectangle")
|
if (selected_shape == "Rectangle")
|
||||||
{
|
{
|
||||||
if (RectangleZ >= Polygon)
|
if (RectangleZ >= Polygon)
|
||||||
|
@ -498,7 +518,17 @@ namespace MoreMapContent
|
||||||
{
|
{
|
||||||
UIElement PolygonElement = null;// PolyCircle as UIElement;
|
UIElement PolygonElement = null;// PolyCircle as UIElement;
|
||||||
UIElement CircleElement = null;//Circle as UIElement;
|
UIElement CircleElement = null;//Circle as UIElement;
|
||||||
UIElement RectangleElement = null;//Rectangle as UIElement;
|
UIElement RectangleElement = null;//Rectangle1 as UIElement;
|
||||||
|
|
||||||
|
if (Rectangle1 != null && (Rectangle1.Count() > 0))
|
||||||
|
{
|
||||||
|
RectangleElement = (Rectangle1[0].Content as UIElement);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Circle != null && (Circle.Count() > 0))
|
||||||
|
{
|
||||||
|
CircleElement = (Circle[0].Content as UIElement);
|
||||||
|
}
|
||||||
|
|
||||||
var PolygonZ = 0;
|
var PolygonZ = 0;
|
||||||
var RectangleZ = 0;
|
var RectangleZ = 0;
|
||||||
|
@ -519,6 +549,8 @@ namespace MoreMapContent
|
||||||
RectangleZ = Canvas.GetZIndex(RectangleElement);
|
RectangleZ = Canvas.GetZIndex(RectangleElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Debug.WriteLine("Start values. RectangleZ: " + RectangleZ + ", circleZ: " + lineZ + ", PolygonZ: " + PolygonZ);
|
||||||
|
|
||||||
if (selected_shape == "Rectangle")
|
if (selected_shape == "Rectangle")
|
||||||
{
|
{
|
||||||
if (RectangleZ <= PolygonZ)
|
if (RectangleZ <= PolygonZ)
|
||||||
|
|
Двоичный файл не отображается.
|
@ -16,3 +16,21 @@ C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.csproj.
|
||||||
C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.dll
|
C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.dll
|
||||||
C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.pdb
|
C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.pdb
|
||||||
C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\XapCacheFile.xml
|
C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\XapCacheFile.xml
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\ApplicationIcon.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\FlipCycleTileLarge.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\FlipCycleTileSmall.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\IconicTileMediumLarge.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\IconicTileSmall.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\MoreMapContent.dll
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\MoreMapContent.pdb
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\AppManifest.xaml
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\MoreMapContent_Debug_AnyCPU.xap
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\App.g.cs
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MainPage.g.cs
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.g.resources
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.Resources.AppResources.resources
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.csproj.GenerateResource.Cache
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.dll
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.pdb
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\XapCacheFile.xml
|
||||||
|
|
Двоичный файл не отображается.
Двоичные данные
MoreMapContent/MoreMapContent/obj/Debug/MoreMapContent.dll
Двоичные данные
MoreMapContent/MoreMapContent/obj/Debug/MoreMapContent.dll
Двоичный файл не отображается.
Двоичные данные
MoreMapContent/MoreMapContent/obj/Debug/MoreMapContent.pdb
Двоичные данные
MoreMapContent/MoreMapContent/obj/Debug/MoreMapContent.pdb
Двоичный файл не отображается.
|
@ -1,13 +1,13 @@
|
||||||
<xapCache source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Bin\Debug\MoreMapContent_Debug_AnyCPU.xap" wasSigned="False" certificateThumbprint="" TimeStampUrl="" lastWriteTime="9/11/2012 2:29:33 AM">
|
<xapCache source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\MoreMapContent_Debug_AnyCPU.xap" wasSigned="False" certificateThumbprint="" TimeStampUrl="" lastWriteTime="9/26/2012 11:20:43 AM">
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.dll" archivePath="MoreMapContent.dll" lastWriteTime="9/11/2012 2:29:32 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\obj\Debug\MoreMapContent.dll" archivePath="MoreMapContent.dll" lastWriteTime="9/26/2012 11:20:42 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\SplashScreenImage.jpg" archivePath="SplashScreenImage.jpg" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\SplashScreenImage.jpg" archivePath="SplashScreenImage.jpg" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Bin\Debug\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="8/29/2012 2:55:30 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="8/30/2012 12:55:30 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Bin\Debug\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="8/29/2012 2:55:28 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="8/30/2012 12:55:28 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\MoreMapContent\MoreMapContent\Bin\Debug\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="9/11/2012 2:29:33 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\MoreMapContent\MoreMapContent\Bin\Debug\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="9/11/2012 12:29:33 PM" />
|
||||||
</xapCache>
|
</xapCache>
|
Двоичные данные
MyLocation/MyLocation.v11.suo
Двоичные данные
MyLocation/MyLocation.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
RevGeoCoding/RevGeoCoding.v11.suo
Двоичные данные
RevGeoCoding/RevGeoCoding.v11.suo
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
SimpleContent/SimpleContent.v11.suo
Двоичные данные
SimpleContent/SimpleContent.v11.suo
Двоичный файл не отображается.
Двоичные данные
SimpleContent/SimpleContent/Bin/Debug/SimpleContent.dll
Двоичные данные
SimpleContent/SimpleContent/Bin/Debug/SimpleContent.dll
Двоичный файл не отображается.
Двоичные данные
SimpleContent/SimpleContent/Bin/Debug/SimpleContent.pdb
Двоичные данные
SimpleContent/SimpleContent/Bin/Debug/SimpleContent.pdb
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -403,20 +403,19 @@ namespace SimpleContent
|
||||||
|
|
||||||
void ToggleVisibility()
|
void ToggleVisibility()
|
||||||
{
|
{
|
||||||
|
if (selected_shape == "Polygon")
|
||||||
/* if (selected_shape == "Polygon")
|
|
||||||
{
|
{
|
||||||
if (poly != null)
|
if (poly != null)
|
||||||
{
|
{
|
||||||
if (poly .Visibility == System.Windows.Visibility.Visible)
|
if (poly.StrokeColor == Color.FromArgb(0xFF, 0x00, 0x00, 0xFF))
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set polygon Visibility off ");
|
poly.FillColor = Color.FromArgb(0x00, 0x00, 0xFF, 0x00);
|
||||||
poly.Visibility = System.Windows.Visibility.Collapsed;
|
poly.StrokeColor = Color.FromArgb(0x00, 0x00, 0x00, 0xFF);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set polygon Visibility on ");
|
poly.FillColor = Color.FromArgb(0x55, 0x00, 0xFF, 0x00);
|
||||||
poly.Visibility = System.Windows.Visibility.Visible;
|
poly.StrokeColor = Color.FromArgb(0xFF, 0x00, 0x00, 0xFF);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -424,15 +423,10 @@ namespace SimpleContent
|
||||||
{
|
{
|
||||||
if (polyline != null)
|
if (polyline != null)
|
||||||
{
|
{
|
||||||
if (polyline.Visibility == System.Windows.Visibility.Visible)
|
if(polyline.StrokeColor == Color.FromArgb(0xFF, 0xFF, 0x00, 0x00)){
|
||||||
{
|
polyline.StrokeColor = Color.FromArgb(0x00, 0xFF, 0x00, 0x00);
|
||||||
Debug.WriteLine("Set polyline Visibility off ");
|
}else{
|
||||||
polyline.Visibility = System.Windows.Visibility.Collapsed;
|
polyline.StrokeColor = Color.FromArgb(0xFF, 0xFF, 0x00, 0x00);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.WriteLine("Set polyline Visibility on ");
|
|
||||||
polyline.Visibility = System.Windows.Visibility.Visible;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -440,18 +434,25 @@ namespace SimpleContent
|
||||||
{
|
{
|
||||||
if (markerLayer != null)
|
if (markerLayer != null)
|
||||||
{
|
{
|
||||||
if (markerLayer.Visibility == System.Windows.Visibility.Visible)
|
for (var i = 0; i < markerLayer.Count(); i++)
|
||||||
|
{
|
||||||
|
Ellipse markker = (markerLayer[i].Content as Ellipse);
|
||||||
|
if (markker != null)
|
||||||
|
{
|
||||||
|
if (markker.Visibility == System.Windows.Visibility.Visible)
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set marker Visibility off ");
|
Debug.WriteLine("Set marker Visibility off ");
|
||||||
markerLayer.Visibility = System.Windows.Visibility.Collapsed;
|
markker.Visibility = System.Windows.Visibility.Collapsed;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Debug.WriteLine("Set marker Visibility on ");
|
Debug.WriteLine("Set marker Visibility on ");
|
||||||
markerLayer.Visibility = System.Windows.Visibility.Visible;
|
markker.Visibility = System.Windows.Visibility.Visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SentToBack()
|
void SentToBack()
|
||||||
|
|
Двоичный файл не отображается.
|
@ -16,3 +16,21 @@ C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\SimpleContent.csproj.Gen
|
||||||
C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\SimpleContent.dll
|
C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\SimpleContent.dll
|
||||||
C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\SimpleContent.pdb
|
C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\SimpleContent.pdb
|
||||||
C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\XapCacheFile.xml
|
C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\XapCacheFile.xml
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\ApplicationIcon.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\FlipCycleTileLarge.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\FlipCycleTileSmall.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\IconicTileMediumLarge.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\IconicTileSmall.png
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\SimpleContent.dll
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\SimpleContent.pdb
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\AppManifest.xaml
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\SimpleContent_Debug_AnyCPU.xap
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\App.g.cs
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\MainPage.g.cs
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\SimpleContent.g.resources
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\SimpleContent.Resources.AppResources.resources
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\SimpleContent.csproj.GenerateResource.Cache
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\SimpleContent.dll
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\SimpleContent.pdb
|
||||||
|
C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\XapCacheFile.xml
|
||||||
|
|
Двоичный файл не отображается.
Двоичные данные
SimpleContent/SimpleContent/obj/Debug/SimpleContent.dll
Двоичные данные
SimpleContent/SimpleContent/obj/Debug/SimpleContent.dll
Двоичный файл не отображается.
Двоичные данные
SimpleContent/SimpleContent/obj/Debug/SimpleContent.pdb
Двоичные данные
SimpleContent/SimpleContent/obj/Debug/SimpleContent.pdb
Двоичный файл не отображается.
|
@ -1,13 +1,13 @@
|
||||||
<xapCache source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Bin\Debug\SimpleContent_Debug_AnyCPU.xap" wasSigned="False" certificateThumbprint="" TimeStampUrl="" lastWriteTime="9/11/2012 2:25:44 AM">
|
<xapCache source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\SimpleContent_Debug_AnyCPU.xap" wasSigned="False" certificateThumbprint="" TimeStampUrl="" lastWriteTime="9/26/2012 11:09:00 AM">
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\obj\Debug\SimpleContent.dll" archivePath="SimpleContent.dll" lastWriteTime="9/11/2012 2:25:43 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\obj\Debug\SimpleContent.dll" archivePath="SimpleContent.dll" lastWriteTime="9/26/2012 11:08:59 AM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\SplashScreenImage.jpg" archivePath="SplashScreenImage.jpg" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\SplashScreenImage.jpg" archivePath="SplashScreenImage.jpg" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Bin\Debug\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="8/29/2012 1:55:52 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="8/29/2012 11:55:52 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Bin\Debug\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="8/29/2012 1:55:48 PM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="8/29/2012 11:55:48 PM" />
|
||||||
<file source="C:\WP_Code\Maps_8\SimpleContent\SimpleContent\Bin\Debug\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="9/11/2012 2:15:33 AM" />
|
<file source="C:\WP_Code\WP8MapExamples\WP8MapsExamples\SimpleContent\SimpleContent\Bin\Debug\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="9/11/2012 12:15:33 PM" />
|
||||||
</xapCache>
|
</xapCache>
|
Загрузка…
Ссылка в новой задаче