Marble
KmlCoordinatesTagHandler.cpp
35static GeoTagHandlerRegistrar s_handlercoordkmlTag_nameSpaceGx22(GeoParser::QualifiedName(QLatin1StringView(kmlTag_coord),
42 && (parser.isValidElement(QLatin1StringView(kmlTag_coordinates)) || parser.isValidElement(QLatin1StringView(kmlTag_coord))));
46 if (parentItem.represents(kmlTag_Point) || parentItem.represents(kmlTag_LineString) || parentItem.represents(kmlTag_MultiGeometry)
48 QStringList coordinatesLines; // = parser.readElementText().trimmed().split( QRegExp("\\s"), Qt::SkipEmptyParts );
94 coord.set(coordinates.at(0).toDouble(), coordinates.at(1).toDouble(), 0.0, GeoDataCoordinates::Degree);
96 coord.set(coordinates.at(0).toDouble(), coordinates.at(1).toDouble(), coordinates.at(2).toDouble(), GeoDataCoordinates::Degree);
104 coord.set(DEG2RAD * coordinates.at(0).toDouble(), DEG2RAD * coordinates.at(1).toDouble(), coordinates.at(2).toDouble());
160 coord.set(DEG2RAD * coordinates.at(0).toDouble(), DEG2RAD * coordinates.at(1).toDouble(), coordinates.at(2).toDouble());
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
qsizetype size() const const
QString & insert(qsizetype position, QChar ch)
QString mid(qsizetype position, qsizetype n) const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
qsizetype size() const const
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
QString trimmed() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.