Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeojson_p.h File Reference

(60828037eb143eaefab1780f1f831a3f0e6dcaf2)

#include <QtLocation/private/qlocationglobal_p.h>
#include <QtCore/QVariantList>
+ Include dependency graph for qgeojson_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QGeoJson
 \inmodule QtLocation \keyword QGeoJson Namespace
 

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.