diff options
author | Julian Sherollari <jdotsh@gmail.com> | 2018-08-07 11:03:48 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-01-18 15:08:03 +0000 |
commit | 9485871222fb3c8f5f2d058ae8c5c0ca13b0ce2c (patch) | |
tree | de99bf587b2bc885de1a04f3d01910a6572e4ff5 /examples/location/geojson_viewer/geojson_viewer.pro | |
parent | 1afc3744c33b67c29361e7300641c4e7212702fb (diff) | |
download | qtlocation-9485871222fb3c8f5f2d058ae8c5c0ca13b0ce2c.tar.gz |
Add QGeoJson: a GeoJSON parser
Add a Class to convert a GeoJSON document to a QVariantList ready to be
used as Model in a MapItemView. It comes with autotests, example and
detailed documentation.
[ChangeLog][QtLocation] Added a GeoJSON parser which can be used to
annotate maps with tracks, polygonal boundaries, etc.
Fixes: QTBUG-64111
Change-Id: Ib06d3902a052f69f75ae40be5c9ab56023cad916
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'examples/location/geojson_viewer/geojson_viewer.pro')
-rw-r--r-- | examples/location/geojson_viewer/geojson_viewer.pro | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/location/geojson_viewer/geojson_viewer.pro b/examples/location/geojson_viewer/geojson_viewer.pro new file mode 100644 index 00000000..891c636d --- /dev/null +++ b/examples/location/geojson_viewer/geojson_viewer.pro @@ -0,0 +1,19 @@ +TARGET = qml_location_geojsonviewer +TEMPLATE = app + +QT += qml network quick positioning location-private +SOURCES += main.cpp +CONFIG += c++11 +CONFIG += install_ok + +QT_FOR_CONFIG += location-private + + +RESOURCES += \ + qml.qrc + +OTHER_FILES += \ + $$files(data/*.json) + +target.path = $$[QT_INSTALL_EXAMPLES]/location/geojsonviewer +INSTALLS += target |