Skip to content

Commit 798c21e

Browse files
committed
xmldoc fixes
1 parent 50a28db commit 798c21e

File tree

9 files changed

+22
-29
lines changed

9 files changed

+22
-29
lines changed

Demo/Demo.WindowsForms/Source/Map.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected override void OnPaint(PaintEventArgs e)
3535
/// <summary>
3636
/// any custom drawing here
3737
/// </summary>
38-
/// <param name="drawingContext"></param>
38+
/// <param name="g"></param>
3939
protected override void OnPaintOverlays(Graphics g)
4040
{
4141
base.OnPaintOverlays(g);

GMap.NET/GMap.NET.Core/GMaps.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,6 @@ public bool BoostCacheEngine
400400
/// <summary>
401401
/// live for cache ;}
402402
/// </summary>
403-
/// <param name="sender"></param>
404-
/// <param name="e"></param>
405403
void CacheEngineLoop()
406404
{
407405
Debug.WriteLine("CacheEngine: start");
@@ -835,7 +833,6 @@ public void EnableTileHost(int port)
835833
/// <summary>
836834
/// turns off tile host
837835
/// </summary>
838-
/// <param name="port"></param>
839836
public void DisableTileHost()
840837
{
841838
if (_host != null)

GMap.NET/GMap.NET.Core/MapProviders/Etc/CloudMadeMapProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ public IEnumerable<GDirections> GetDirections(out DirectionsStatusCode status, P
314314
/// <param name="direction"></param>
315315
/// <param name="start"></param>
316316
/// <param name="wayPoints"></param>
317+
/// <param name="end"></param>
317318
/// <param name="avoidHighways"></param>
318319
/// <param name="avoidTolls"></param>
319320
/// <param name="walkingMode"></param>
@@ -333,6 +334,7 @@ public DirectionsStatusCode GetDirections(out GDirections direction, PointLatLng
333334
/// <param name="direction"></param>
334335
/// <param name="start"></param>
335336
/// <param name="wayPoints"></param>
337+
/// <param name="end"></param>
336338
/// <param name="avoidHighways"></param>
337339
/// <param name="avoidTolls"></param>
338340
/// <param name="walkingMode"></param>

GMap.NET/GMap.NET.Core/MapProviders/Etc/SwedenMapProviderAlt.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
///--------------------------------------------------------------------------------------------
2-
/// 20200313 (jokubokla): The Pseudo Mercator (EPSG:3857) instead of SWEREF99 (EPSG:3006)
3-
///
4-
/// This project contains the Lantmäteriet SWEREF99 Map for quite some time. Recently I found
5-
/// out (by using QGIS and the GetCapabilities function of WMTS) that the Lantmäteriet map
6-
/// is available also in a Pseudo Mercator Projection (EPSG:3857).
7-
///
8-
/// This is very convenient if one uses this project to generate offline Maps, e.g. in
9-
/// the .mbtiles SQLite database format. Android Apps like LOCUS or ORUX only understand
10-
/// Mercator to my knowledge. With this Provider, Android maps from Lantmäteriet can be
11-
/// created for those Apps as well.
12-
///--------------------------------------------------------------------------------------------
1+
//--------------------------------------------------------------------------------------------
2+
// 20200313 (jokubokla): The Pseudo Mercator (EPSG:3857) instead of SWEREF99 (EPSG:3006)
3+
//
4+
// This project contains the Lantmäteriet SWEREF99 Map for quite some time. Recently I found
5+
// out (by using QGIS and the GetCapabilities function of WMTS) that the Lantmäteriet map
6+
// is available also in a Pseudo Mercator Projection (EPSG:3857).
7+
//
8+
// This is very convenient if one uses this project to generate offline Maps, e.g. in
9+
// the .mbtiles SQLite database format. Android Apps like LOCUS or ORUX only understand
10+
// Mercator to my knowledge. With this Provider, Android maps from Lantmäteriet can be
11+
// created for those Apps as well.
12+
//--------------------------------------------------------------------------------------------
1313

1414
namespace GMap.NET.MapProviders
1515
{

GMap.NET/GMap.NET.Core/MapProviders/OpenStreetMap/OpenStreetMapProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ MapRoute GetRoute(string url)
131131
var xmlnsManager = new XmlNamespaceManager(xmldoc.NameTable);
132132
xmlnsManager.AddNamespace("sm", "http://earth.google.com/kml/2.0");
133133

134-
///Folder/Placemark/LineString/coordinates
134+
// /Folder/Placemark/LineString/coordinates
135135
var coordNode = xmldoc.SelectSingleNode(
136136
"/sm:kml/sm:Document/sm:Folder/sm:Placemark/sm:LineString/sm:coordinates",
137137
xmlnsManager);

GMap.NET/GMap.NET.WindowsForms/GMapOverlay.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ public bool IsVisibile
7070

7171
bool _isHitTestVisible = true;
7272

73-
/// overlay Id ///
7473
/// <summary>
75-
/// </summary>
76-
/// /// HitTest visibility for entire overlay
74+
/// HitTest visibility for entire overlay
7775
/// </summary>
7876
public bool IsHitTestVisible
7977
{

GMap.NET/GMap.NET.WindowsPresentation/GMapControl.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,9 @@ public int MinZoom
465465
new SolidColorBrush(Color.FromArgb(33, Colors.RoyalBlue.R, Colors.RoyalBlue.G, Colors.RoyalBlue.B));
466466

467467
/// <summary>
468-
/// ///
469-
/// <summary>
470-
/// pen for empty tile background
471-
/// </summary>
472-
public Brush EmptytileBrush = Brushes.Navy;
468+
/// pen for empty tile background
469+
/// </summary>
470+
public Brush EmptyTileBrush = Brushes.Navy;
473471

474472
/// <summary>
475473
/// text on empty tiles
@@ -1136,7 +1134,7 @@ void DrawMap(DrawingContext g)
11361134

11371135
if (_core.FailedLoads.ContainsKey(lt))
11381136
{
1139-
g.DrawRectangle(EmptytileBrush,
1137+
g.DrawRectangle(EmptyTileBrush,
11401138
EmptyTileBorders,
11411139
new Rect(_core.TileRect.X,
11421140
_core.TileRect.Y,

GMap.NET/GMap.NET.WindowsPresentation/GMapPolygon.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public override void Clear()
2424
/// <summary>
2525
/// creates path from list of points, for performance set addBlurEffect to false
2626
/// </summary>
27-
/// <param name="pl"></param>
2827
/// <returns></returns>
2928
public virtual Path CreatePath(List<Point> localPath, bool addBlurEffect)
3029
{

GMap.NET/GMap.NET.WindowsPresentation/GMapRoute.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ public override void Clear()
3535
/// <summary>
3636
/// creates path from list of points, for performance set addBlurEffect to false
3737
/// </summary>
38-
/// <param name="pl"></param>
3938
/// <returns></returns>
4039
public virtual Path CreatePath(List<Point> localPath, bool addBlurEffect)
4140
{
4241
// Create a StreamGeometry to use to specify myPath.
43-
StreamGeometry geometry = new StreamGeometry();
42+
var geometry = new StreamGeometry();
4443

4544
using (StreamGeometryContext ctx = geometry.Open())
4645
{

0 commit comments

Comments
 (0)