summaryrefslogtreecommitdiff
path: root/platform/qt/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-02-09 14:10:13 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-02-22 13:52:33 +0200
commit10b8ef644188ee02cdce5b8db35fed1c32688758 (patch)
tree39ff6bc3ba140f6e30ff3a8ac7874c0deb589c1e /platform/qt/include
parent2f388d663505255e967597c52656cc076e20d95c (diff)
downloadqtlocation-mapboxgl-10b8ef644188ee02cdce5b8db35fed1c32688758.tar.gz
[Qt] Document QMapbox + qdoc fixes
Diffstat (limited to 'platform/qt/include')
-rw-r--r--platform/qt/include/qmapbox.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/platform/qt/include/qmapbox.hpp b/platform/qt/include/qmapbox.hpp
index e11214f473..f2d96412a9 100644
--- a/platform/qt/include/qmapbox.hpp
+++ b/platform/qt/include/qmapbox.hpp
@@ -11,23 +11,15 @@
namespace QMapbox {
-// Reflects mbgl::Point<double>.
typedef QPair<double, double> Coordinate;
typedef QPair<Coordinate, double> CoordinateZoom;
-
-// Reflects mbgl::ProjectedMeters<double>.
typedef QPair<double, double> ProjectedMeters;
-// Reflects mbgl::{LineString,LinearRing,MultiPoint}<double>.
typedef QList<Coordinate> Coordinates;
-
-// Reflects mbgl::{MultiLineString,Polygon}<double>.
typedef QList<Coordinates> CoordinatesCollection;
-// Reflects mbgl::MultiPolygon<double>.
typedef QList<CoordinatesCollection> CoordinatesCollections;
-// Reflects mbgl::Feature.
struct Q_DECL_EXPORT Feature {
enum Type {
PointType = 1,
@@ -40,7 +32,6 @@ struct Q_DECL_EXPORT Feature {
QVariant id;
};
-// Reflects mbgl::ShapeAnnotationGeometry.
struct Q_DECL_EXPORT ShapeAnnotationGeometry {
enum Type {
LineStringType,
@@ -52,13 +43,11 @@ struct Q_DECL_EXPORT ShapeAnnotationGeometry {
CoordinatesCollections geometry;
};
-// Reflects mbgl::SymbolAnnotation.
struct Q_DECL_EXPORT SymbolAnnotation {
Coordinate geometry;
QString icon;
};
-// Reflects mbgl::LineAnnotation.
struct Q_DECL_EXPORT LineAnnotation {
ShapeAnnotationGeometry geometry;
float opacity = 1.0f;
@@ -66,7 +55,6 @@ struct Q_DECL_EXPORT LineAnnotation {
QColor color = Qt::black;
};
-// Reflects mbgl::FillAnnotation.
struct Q_DECL_EXPORT FillAnnotation {
ShapeAnnotationGeometry geometry;
float opacity = 1.0f;
@@ -74,19 +62,15 @@ struct Q_DECL_EXPORT FillAnnotation {
QVariant outlineColor;
};
-// Reflects mbgl::StyleSourcedAnnotation.
struct Q_DECL_EXPORT StyleSourcedAnnotation {
ShapeAnnotationGeometry geometry;
QString layerID;
};
-// SymbolAnnotation, LineAnnotation, FillAnnotation, StyleSourcedAnnotation.
typedef QVariant Annotation;
-
typedef quint32 AnnotationID;
typedef QList<AnnotationID> AnnotationIDs;
-// Reflects mbgl::NetworkStatus::Status.
enum NetworkMode {
Online, // Default
Offline,