![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtLocation/private/qlocationglobal_p.h>
#include <QtCore/QVariantList>
Go to the source code of this file.
Namespaces | |
namespace | QGeoJson |
\inmodule QtLocation | |
Functions | |
QVariantList | QGeoJson::importGeoJson (const QJsonDocument &geoJson) |
This method imports the geoJson document, expected to contain valid GeoJSON data, into a QVariantList structured like described in the section \l {Importing GeoJSON}. | |
QJsonDocument | QGeoJson::exportGeoJson (const QVariantList &geoData) |
This method exports the QVariantList geoData, expected to be structured like described in the section \l {Importing GeoJSON}, to a QJsonDocument containing the data converted to GeoJSON. | |
QString | QGeoJson::toString (const QVariantList &geoData) |
This method accepts the QVariantList geoData, structured as described in \l {Importing GeoJSON}, and returns a string containing the same data in a readable form. | |