5#ifndef QMAPLIBRE_GL_WIDGET_H
6#define QMAPLIBRE_GL_WIDGET_H
8#include <QMapLibreWidgets/Export>
10#include <QMapLibre/Map>
11#include <QMapLibre/Settings>
13#include <QOpenGLWidget>
29class Q_MAPLIBRE_WIDGETS_EXPORT
GLWidget :
public QOpenGLWidget {
46 void mousePressEvent(QMouseEvent *event)
override;
47 void mouseReleaseEvent(QMouseEvent *event)
override;
48 void mouseMoveEvent(QMouseEvent *event)
override;
49 void wheelEvent(QWheelEvent *event)
override;
52 void initializeGL()
override;
53 void paintGL()
override;
58 std::unique_ptr<GLWidgetPrivate> d_ptr;
The Map class is a Qt wrapper for the MapLibre Native engine.
Definition map.hpp:28
The Settings class stores the initial configuration for Map.
Definition settings.hpp:27
Definition geojson.cpp:10
QPair< double, double > Coordinate
Coordinate helper type.
Definition types.hpp:20