Marble
12 #ifndef MARBLE_PLACEMARKLAYER_H
13 #define MARBLE_PLACEMARKLAYER_H
17 #include "LayerInterface.h"
22 #include "PlacemarkLayout.h"
44 class PlacemarkLayer :
public QObject,
public LayerInterface
52 const StyleBuilder *styleBuilder,
54 ~PlacemarkLayer()
override;
64 qreal zValue()
const override;
69 bool render( GeoPainter *painter, ViewportParams *viewport,
71 GeoSceneLayer *layer =
nullptr )
override;
73 RenderState renderState()
const override;
75 QString runtimeTrace()
const override;
82 bool hasPlacemarkAt(
const QPoint &pos);
84 bool isDebugModeEnabled()
const;
85 void setDebugModeEnabled(
bool enabled);
87 void setLevelTagDebugModeEnabled(
bool enabled);
88 bool levelTagDebugModeEnabled()
const;
89 void setDebugLevelTag(
int level);
93 void setShowPlaces(
bool show );
94 void setShowCities(
bool show );
95 void setShowTerrain(
bool show );
96 void setShowOtherPlaces(
bool show );
99 void setShowLandingSites(
bool show );
100 void setShowCraters(
bool show );
101 void setShowMaria(
bool show );
103 void requestStyleReset();
104 void setTileLevel(
int tileLevel);
107 void repaintNeeded();
112 PlacemarkLayout m_layout;
113 bool m_debugModeEnabled;
114 bool m_levelTagDebugModeEnabled;
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:09 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.