Skip to content

Commit 15069f9

Browse files
committed
Merge branch 'release/v4.9.5.0'
2 parents a828072 + 7f0f120 commit 15069f9

File tree

190 files changed

+14091
-7139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+14091
-7139
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,7 @@ $RECYCLE.BIN/
164164
# Custom
165165
*.dll
166166
support/GDAL_SDK/*
167-
docs/output
167+
docs/output
168+
demo/.nuget/
169+
*.zip
170+
unittests/MapWinGISTests/AkkerwebTests.cs

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# What is MapWinGIS?
2+
3+
MapWinGIS.ocx is used to provide GIS and mapping functionality to any Windows Forms based application.
4+
5+
MapWinGIS.ocx is a FREE and OPEN SOURCE C++ based geographic information system programming ActiveX Control and application programmer
6+
interface (API) that can be added to a Windows Form in Visual Basic, C#, Delphi, or other languages that support ActiveX, providing your
7+
app with a map.
8+
9+
![ECW image with a vector overlays and labels displayed in the Demo .NET/C# app](http://download-codeplex.sec.s-msft.com/Download?ProjectName=mapwingis&DownloadId=1382142 "ECW image with a vector overlays and labels displayed in the Demo .NET/C# app")
10+
_(ECW image with a vector overlays and labels displayed in the Demo .NET/C# app)_
11+
12+
## Newsletter
13+
If you want to stay updated you can subscribe to our newsletter at http://www.mapwindow.org/documentation/mapwindow5/subscribe.php
14+
15+
## Who is Working on MapWinGIS?
16+
The MapWinGIS Activex Control is a central product of the MapWindow GIS Open Source Project. The control is built entirely in C++ and
17+
is a robust and powerful GIS component that serves as the primary element of the [MapWindow GIS Desktop Application](https://github.com/MapWindow/MapWindow5) and provides GIS functionality
18+
to many other software applications.
19+
20+
## Can I Use MapWinGIS?
21+
MapWinGIS.ocx is FREE and OPEN SOURCE under the MPL 2.0 license. This means that you can use it freely in your commercial and
22+
non-commercial applications.
23+
24+
## How can I help?
25+
MapWinGIS is very robust and well established - with several thousand downloads from the MapWindow.org web site over the past several
26+
years. MapWinGIS still has potential for many new and interesting upgrades and improvements. So we are actively seeking developers who
27+
want to work on this project with us.

docs/AxInterop.MapWinGIS.XML

Lines changed: 28 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/AxInterop.MapWinGIS/AxMap.cs

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,11 @@ public void LoadTilesForSnapshot(Extents extents, int width, string key, tkTileP
325325
/// <returns>1 if tiles are in cache, 0 if not, -1 if an there was an error.</returns>
326326
/// <remarks>The main purpose: loading of tiles for printing.</remarks>
327327
/// \new491 Added in version 4.9.1
328-
public int TilesAreInCache(Extents extents, int width, tkTileProvider provider)
329-
{
330-
throw new NotImplementedException();
331-
}
328+
// Removed in v4.9.4 again
329+
//public int TilesAreInCache(Extents extents, int width, tkTileProvider provider)
330+
//{
331+
// throw new NotImplementedException();
332+
//}
332333

333334
/// <summary>
334335
/// Performs specific type of map redraw.
@@ -677,6 +678,13 @@ public void ZoomToShape(int LayerHandle, int Shape)
677678
/// \new492 Added in version 4.9.2
678679
public bool ReuseTileBuffer { get; set; }
679680

681+
/// <summary>
682+
/// Gets or sets a value indicating whether the legacy 'hand' cursor should be used
683+
/// for map panning rather than the standard 'NSEW' four-point cursor.
684+
/// </summary>
685+
/// \new495 Added in version 4.9.5
686+
public bool UseAlternatePanCursor { get; set; }
687+
680688
/// <summary>
681689
/// Gets or sets the amount of information to be displayed in zoom bar tool tip.
682690
/// </summary>
@@ -2230,7 +2238,8 @@ public double ExtentPad
22302238
/// Gets or sets the extents of the map using an Extents object.
22312239
/// </summary>
22322240
/// <remarks>If the given extents do not fit the aspect ratio of the map, the map will fit the given extents as well as possible.</remarks>
2233-
public object Extents
2241+
/// \new495 Return value changed to IExtents in version 4.9.5
2242+
public MapWinGIS.Extents Extents
22342243
{
22352244
get { throw new NotImplementedException(); }
22362245
set { throw new NotImplementedException(); }
@@ -2627,6 +2636,19 @@ public double GeodesicLength(Shape polyline)
26272636
/// The value should be set to blnTrue in case some additional drawing is performed in client code.</param>
26282637
public event _DMapEvents_AfterDrawingEventHandler AfterDrawing;
26292638

2639+
/// <summary>
2640+
/// This event is fired after the rendering of standard layers. Handle of device context is passed to allow the user to implement custom drawing.
2641+
/// </summary>
2642+
/// <param name="hdc">Handle of device context of screen buffer.</param>
2643+
/// <param name="xMin">Minimum X coordinate of the rectangle being rendered.</param>
2644+
/// <param name="xMax">Maximum X coordinate of the rectangle being rendered.</param>
2645+
/// <param name="yMin">Minimum Y coordinate of the rectangle being rendered.</param>
2646+
/// <param name="yMax">Maximum Y coordinate of the rectangle being rendered.</param>
2647+
/// <param name="handled">Passed by reference.
2648+
/// The value should be set to blnTrue in case some additional drawing is performed in client code.</param>
2649+
/// \new495 Added in version 4.9.5
2650+
public event _DMapEvents_AfterLayersEventHandler AfterLayers;
2651+
26302652
/// <summary>
26312653
/// This event is fired after interactive editing of shape is finished (AxMap.CursorMode is set to cmEditShape).
26322654
/// </summary>
@@ -2686,6 +2708,19 @@ public double GeodesicLength(Shape polyline)
26862708
/// The value should be set to blnTrue in case some additional drawing is performed in client code.</param>
26872709
public event _DMapEvents_BeforeDrawingEventHandler BeforeDrawing;
26882710

2711+
/// <summary>
2712+
/// This event is fired before the rendering of standard layers. Handle of device context is passed to allow the user to implement custom drawing.
2713+
/// </summary>
2714+
/// <param name="hdc">Handle of device context of screen buffer.</param>
2715+
/// <param name="xMin">Minimum X coordinate of the rectangle being rendered.</param>
2716+
/// <param name="xMax">Maximum X coordinate of the rectangle being rendered.</param>
2717+
/// <param name="yMin">Minimum Y coordinate of the rectangle being rendered.</param>
2718+
/// <param name="yMax">Maximum Y coordinate of the rectangle being rendered.</param>
2719+
/// <param name="handled">Passed by reference.
2720+
/// The value should be set to blnTrue in case some additional drawing is performed in client code.</param>
2721+
/// \new495 Added in version 4.9.5
2722+
public event _DMapEvents_BeforeLayersEventHandler BeforeLayers;
2723+
26892724
/// <summary>
26902725
/// This event is fired before editing starts for particular shape (after user click on the shape when map cursor is set to cmEditShape).
26912726
/// </summary>

0 commit comments

Comments
 (0)