GithubHelp home page GithubHelp logo

heimusharper / qwidgetmap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chris5287/qwidgetmap

0.0 3.0 0.0 505 KB

QWidgetMap is a mapping library that provides a Qt QWidget class that you can use in your own applications

License: GNU Lesser General Public License v3.0

C++ 95.63% QMake 4.09% Prolog 0.29%

qwidgetmap's Introduction

What is QWidgetMap?

QWidgetMap is a mapping library that provides a Qt QWidget class that you can use in your own applications

The library design and functionality was originally based on the QMapControl project (http://www.medieninf.de/qmapcontrol)

Features:

  • Drawable Items:
  • Maps: Supports tile map services (also known as 'Slippy Map')
  • Geometries: Supports points, lines, ellipses, polygons and other custom shapes (arrows, circles, images and text)
  • Other: Supports ESRI Shapefile (see below)
  • Layers:
  • Maps, geometries and other drawable items can be added to a layer, which can be shown or hidden as required

License

GNU Lesser General Public License (LGPL) version 3

Prerequisites

Compiler

  • A modern C++ compiler that includes support for the C++11 standard
    • Tested with GCC 4.9, Clang 3.6 and MSVC 12 (VS 2013)

Required External Dependencies

Optional External Dependencies

  • GDAL (http://www.gdal.org)
    • Adds support for ESRI Shapefile
    • To enable this feature, add CONFIG+=with-gdal to the qmake command
      • You can specify the include path for GDAL with the environment variable QWM_GDAL_INC
      • You can specify the library path for GDAL with the environment variable QWM_GDAL_LIB
    • Tested with GDAL 1.11

Internal Dependencies

Building QWidgetMap

Note: It is recommended to use a 'shadow build' folder when building QWidgetMap

From the root directory run the following commands to build QWidgetMap within a 'shadow build' folder (replace make with nmake for MSVC):

mkdir build
cd build
qmake ../src
make

To install QWidgetMap, run:

make install

Installation directory

Add prefix=INSTALL_LOCATION to the qmake command to specify where QWidgetMap is installed

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

Build the Example project

Add CONFIG+=with-example to the qmake command

Build the Qt Designer plugin projects

Add CONFIG+=with-plugins to the qmake command

qwidgetmap's People

Contributors

chris5287 avatar

Watchers

James Cloos avatar Andrey Stepanov avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.