26 #ifndef DIGIKAM_BACKEND_GOOGLE_MAPS_H
27 #define DIGIKAM_BACKEND_GOOGLE_MAPS_H
44 explicit BackendGoogleMaps(
const QExplicitlySharedDataPointer<GeoIfaceSharedData>& sharedData,
45 QObject*
const parent =
nullptr);
48 QString backendName()
const override;
49 QString backendHumanName()
const override;
50 QWidget* mapWidget()
override;
52 void mapWidgetDocked(
const bool state)
override;
57 bool isReady()
const override;
59 void zoomIn()
override;
60 void zoomOut()
override;
62 void saveSettingsToGroup(KConfigGroup*
const group)
override;
63 void readSettingsFromGroup(
const KConfigGroup*
const group)
override;
65 void addActionsToConfigurationMenu(QMenu*
const configurationMenu)
override;
67 void updateMarkers()
override;
68 void updateClusters()
override;
70 bool screenCoordinates(
const GeoCoordinates& coordinates, QPoint*
const point)
override;
71 bool geoCoordinates(
const QPoint& point,
GeoCoordinates*
const coordinates)
const override;
72 QSize mapSize()
const override;
74 void setZoom(
const QString& newZoom)
override;
75 QString getZoom()
const override;
77 int getMarkerModelLevel()
override;
84 void updateActionAvailability()
override;
86 QString getMapType()
const;
87 void setMapType(
const QString& newMapType);
88 void setShowMapTypeControl(
const bool state);
89 void setShowScaleControl(
const bool state);
90 void setShowNavigationControl(
const bool state);
92 void regionSelectionChanged()
override;
93 void mouseModeChanged()
override;
95 void centerOn(
const Marble::GeoDataLatLonBox& latLonBox,
const bool useSaneZoomLevel)
override;
96 void setActive(
const bool state)
override;
100 void slotClustersNeedUpdating()
override;
101 void slotThumbnailAvailableForIndex(
const QVariant& index,
const QPixmap& pixmap)
override;
102 void slotUngroupedModelChanged(
const int mindex);
106 bool eventFilter(QObject*
object, QEvent* event)
override;
107 void createActions();
108 void setClusterPixmap(
const int clusterId,
109 const QPoint& centerPoint,
110 const QPixmap& clusterPixmap);
111 void setMarkerPixmap(
const int modelId,
113 const QPoint& centerPoint,
114 const QPixmap& markerPixmap);
115 void setMarkerPixmap(
const int modelId,
117 const QPoint& centerPoint,
118 const QSize& iconSize,
119 const QUrl& iconUrl);
124 void slotHTMLInitialized();
125 void slotSetCenterTimer();
126 void slotMapTypeActionTriggered(QAction* action);
127 void slotHTMLEvents(
const QStringList& eventStrings);
128 void slotFloatSettingsTriggered(QAction* action);
130 void slotTrackManagerChanged()
override;
132 void slotTrackVisibilityChanged(
const bool newState);
136 void updateZoomMinMaxCache();
138 void addPointsToTrack(
const quint64 trackId,
140 const int firstPoint,
Definition: backendgooglemaps.h:39
Definition: geocoordinates.h:49
QPair< GeoCoordinates, GeoCoordinates > Pair
Definition: geocoordinates.h:64
Definition: mapbackend.h:52
QPair< Id, ChangeFlag > TrackChanges
Definition: trackmanager.h:63
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43