Skip to content

TheDZhon/QMapControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is QMapControl?

Based on the original QMapControl project (http://www.medieninf.de/qmapcontrol), this is an updated version of QMapControl that support Qt5.

QMapControl is a mapping library that provides a QWidget interface that you can use in your own applications.

Features:

  • Maps: Supports WMS and 'Slippy' tile map services.
  • Geometries: Add points, circles, lines, images and other QWidgets.
  • Layers: Maps and/or geometries can be added to a layer, which can be shown/hidden as required.

Prerequisites

Compiler

  • A modern C++ compiler that fully supports the C++11 standard:
    • Tested with GCC 4.8.2, Clang 3.4 and MSVC 11 (VS 2012).

External Dependencies

Optional External Dependencies

  • GDAL (http://www.gdal.org)
    • Supports: ESRI Shapefile
    • To enable this feature, define QMC_GDAL
      • You can specify the include path for GDAL with the environment variable QMC_GDAL_INC
      • You can specify the library path for GDAL with the environment variable QMC_GDAL_LIB
    • Tested with GDAL 1.10.1

Internal Dependencies

Build

Run the following commands from the root directory to build QMapControl (replace make with nmake for MSVC):

qmake prefix=INSTALL_LOCATION
make

To install QMapControl, run:

make install

Note: INSTALL_LOCATION must be an absolute path to the install directory required.