MapWinGIS is ActiveX MFC control to display geospatial data and a number of ATL classes to support the interaction with various datasources. The support for the larger part of both raster and vector formats is provided by GDAL library. A few formats are supports natively: ESRI Shapefiles, BMP images, some binary grids. There is also built-in support for commonly used tile map services (TMS) like OpenStreetMap. Compared to other projects MapWinGIS provides both high performance due to native C++ code and the ease of use in various programming languages (COM), but generally it's limited to Windows desktop applications. Here is a code sample to give a feel of the API. Below are links for the detailed documentation for different versions of MapWinGIS.
// display tiles for the map axMap1.Projection = tkMapProjection.PROJECTION_GOOGLE_MERCATOR; axMap1.TileProvider = tkTileProvider.OpenStreetMap; new GlobalSettings {ReprojectLayersOnAdding = true}; // adding your own dataint layerHandle = axMap1.AddLayerFromFilename(@"d:\my_data.shp", tkFileOpenStrategy.fosAutoDetect, true); var sf = axMap1.get_Shapefile(layerHandle); if (sf != null) { // do some manipulations with it }
MapWinGIS 4.9
MapWinGIS 4.8
Older Documentation
- UsingMapWinGIS.pdf - quick Start Guide (VB.NET);
- MapWinGIS Reference Manual with TOC.pdf - API reference (thanks DerBeobachter for adding the TOC);
- MapWinGIS_API_Poster.ppt - class diagram;
- MapWinGIS.7z - another API reference (.chm);
- Sample projects on various languages