Marble
8 #ifndef MARBLE_GEOMETRYLAYER_H
9 #define MARBLE_GEOMETRYLAYER_H
12 #include "LayerInterface.h"
13 #include "GeoDataCoordinates.h"
14 #include "GeoDataRelation.h"
24 class GeoDataPlacemark;
25 class GeoDataRelation;
29 class GeometryLayerPrivate;
31 class GeometryLayer :
public QObject,
public LayerInterface
35 explicit GeometryLayer(
const QAbstractItemModel *model,
const StyleBuilder *styleBuilder);
36 ~GeometryLayer()
override;
40 bool render( GeoPainter *painter, ViewportParams *viewport,
42 GeoSceneLayer * layer =
nullptr )
override;
44 RenderState renderState()
const override;
46 QString runtimeTrace()
const override;
48 bool hasFeatureAt(
const QPoint& curpos,
const ViewportParams * viewport);
52 void highlightRouteRelation(qint64 osmId,
bool enabled);
54 void setVisibleRelationTypes(GeoDataRelation::RelationTypes relationTypes);
56 void setLevelTagDebugModeEnabled(
bool enabled);
58 bool levelTagDebugModeEnabled()
const;
60 void setDebugLevelTag(
int level);
62 int debugLevelTag()
const;
65 void addPlacemarks(
const QModelIndex& index,
int first,
int last );
66 void removePlacemarks(
const QModelIndex& index,
int first,
int last );
67 void resetCacheData();
68 void setTileLevel(
int tileLevel);
94 GeometryLayerPrivate *d;
98 #endif // MARBLE_GEOMETRYLAYER_H
Binds a QML item to a specific geodetic location in screen coordinates.
Unit
enum used constructor to specify the units used
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.