diff options
author | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-08-28 15:02:56 -0700 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-08-28 15:43:18 -0700 |
commit | a2712f6fa439af976f7c17685b78340cb14d67a1 (patch) | |
tree | 8a20143f0c2cad1699119385f7af552168d62039 /test/fixtures | |
parent | 2de89a99bc86776c8cadedc0ae9b344fb78b8217 (diff) | |
download | qtlocation-mapboxgl-a2712f6fa439af976f7c17685b78340cb14d67a1.tar.gz |
Update to gejson 0.4.2 and add StyleParser test to verify that GeoJSON without `properties` field can be loaded
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/style_parser/geojson-missing-properties.info.json | 6 | ||||
-rw-r--r-- | test/fixtures/style_parser/geojson-missing-properties.style.json | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/fixtures/style_parser/geojson-missing-properties.info.json b/test/fixtures/style_parser/geojson-missing-properties.info.json new file mode 100644 index 0000000000..9c25a2f488 --- /dev/null +++ b/test/fixtures/style_parser/geojson-missing-properties.info.json @@ -0,0 +1,6 @@ +{ + "default": { + "log": [ + ] + } +} diff --git a/test/fixtures/style_parser/geojson-missing-properties.style.json b/test/fixtures/style_parser/geojson-missing-properties.style.json new file mode 100644 index 0000000000..fc4fe97c78 --- /dev/null +++ b/test/fixtures/style_parser/geojson-missing-properties.style.json @@ -0,0 +1,9 @@ +{ + "version": 8, + "sources": { + "mapbox": { + "type": "geojson", + "data": { "type": "Feature", "geometry": { "type": "Point", "coordinates": [100.0, 0.0] } } + } + } +} |