This project is read-only.
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 data
int 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
MapWinGIS 4.9 Documentation
MapWinGIS 4.8 Documentation
Older Documentation

Last edited Jan 6, 2015 at 11:50 AM by sleschinski, version 69


No comments yet.