diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-06-02 14:46:33 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-06-03 12:51:01 +0200 |
commit | 0b8bc87e503f7ab4ebada16fe3f8e78a989194bb (patch) | |
tree | a95d93bfba6b4b9055deea098f5ab9a23f1a62ac /src | |
parent | 2d039d3c6b0f62a7545563f7ef4e966aed8ba410 (diff) | |
download | qtlocation-mapboxgl-0b8bc87e503f7ab4ebada16fe3f8e78a989194bb.tar.gz |
[core] interpret missing field in vector tile values as null instead of false
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/tile/vector_tile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/vector_tile.cpp b/src/mbgl/tile/vector_tile.cpp index d22617dd07..96961e1da7 100644 --- a/src/mbgl/tile/vector_tile.cpp +++ b/src/mbgl/tile/vector_tile.cpp @@ -127,7 +127,7 @@ Value parseValue(protozero::pbf_reader data) { break; } } - return false; + return NullValue{}; } VectorTileFeature::VectorTileFeature(protozero::pbf_reader feature_pbf, std::shared_ptr<VectorTileLayerData> layerData_) |