Update to gejson 0.4.2 and add StyleParser test to verify that GeoJSON without properties field can be loaded
This commit is contained in:
@@ -54,7 +54,7 @@ mason_use(kdbush VERSION 0.1.1-1 HEADER_ONLY)
|
||||
mason_use(earcut VERSION 0.12.3 HEADER_ONLY)
|
||||
mason_use(protozero VERSION 1.5.2 HEADER_ONLY)
|
||||
mason_use(pixelmatch VERSION 0.10.0 HEADER_ONLY)
|
||||
mason_use(geojson VERSION 0.4.0 HEADER_ONLY)
|
||||
mason_use(geojson VERSION 0.4.2 HEADER_ONLY)
|
||||
mason_use(polylabel VERSION 1.0.3 HEADER_ONLY)
|
||||
mason_use(wagyu VERSION 0.4.3 HEADER_ONLY)
|
||||
mason_use(shelf-pack VERSION 2.1.1 HEADER_ONLY)
|
||||
|
||||
6
test/fixtures/style_parser/geojson-missing-properties.info.json
vendored
Normal file
6
test/fixtures/style_parser/geojson-missing-properties.info.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"default": {
|
||||
"log": [
|
||||
]
|
||||
}
|
||||
}
|
||||
9
test/fixtures/style_parser/geojson-missing-properties.style.json
vendored
Normal file
9
test/fixtures/style_parser/geojson-missing-properties.style.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 8,
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
"type": "geojson",
|
||||
"data": { "type": "Feature", "geometry": { "type": "Point", "coordinates": [100.0, 0.0] } }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user