9#include "kgapimaps_export.h"
10#include "staticmapmarker.h"
11#include "staticmappath.h"
16#include <KContacts/Address>
17#include <KContacts/Geo>
32 enum LocationType { Undefined = -1, String, KABCAddress, KABCGeo };
34 enum ImageFormat { PNG, PNG32, GIF, JPG, JPGBaseline };
36 enum MapType { Roadmap,
Satellite, Terrain, Hybrid };
38 enum Scale { Normal = 1, TwiceBigger = 2 };
91 [[nodiscard]] LocationType locationType()
const;
96 [[nodiscard]] ImageFormat format()
const;
103 void setFormat(
const ImageFormat format);
108 bool isValid()
const;
115 [[nodiscard]]
QString locationString()
const;
123 void setLocation(
const QString &location);
158 [[nodiscard]] MapType mapType()
const;
165 void setMapType(
const MapType type);
212 [[nodiscard]]
QSize size()
const;
219 void setSize(
const QSize &size);
224 [[nodiscard]] Scale scale()
const;
231 void setScale(
const Scale scale);
237 [[nodiscard]]
bool sensorUsed()
const;
245 void setSensorUsed(
const bool sensor);
252 [[nodiscard]]
QString visibleLocationString()
const;
265 void setVisibleLocation(
const QString &location);
310 [[nodiscard]] LocationType visibleLocationType()
const;
317 [[nodiscard]] qint8 zoomLevel()
const;
325 void setZoomLevel(
const quint32 zoom);
330 [[nodiscard]]
QUrl url()
const;
340 friend class Private;
Represents marker with defined label, color, size and markers.
Represents path with defined locations, weight, color and color for filled area.
A class to build a URL from StaticMapMarkers and StaticMapPaths to fetch a map tile.
A job to fetch a single map tile described by a StaticMapUrl.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.