Overview
MapWinGIS is ActiveX MFC control to display geospatial data and a number of ATL COM 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 }
Recommended reading
- GETTING STARTED - a must read topic for people new to MapWinGIS
- WHAT'S NEW IN VERSION 4.9.3 - a must read topic for people who were using previous versions
- Working with datasources - describes how to access data from vector and raster formats, spatial databases
- Online tile services - OpenStreetMap, Google Maps, etc; must read topic for everyone
- Vector layers: common tasks - things that are often asked by people about shapefile symbology, etc
- Building from source - where to get support libraries, etc
- Licenses for data formats - a disclaimer for those who care
MapWinGIS 4.9 Documentation
- COMPLETE API REFERENCE - list of all classes and members
- General topics - start page of Doxygen docs
- Version history - changes of API for each version
- Description of Demo app (aka MapWindow Lite) - the app is included in MapWinGIS 4.9.3 installer;
MapWinGIS 4.8 Documentation
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