diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-14 10:39:40 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-14 11:25:45 -0700 |
commit | b222689de835a8b83c387aff5e5f500ce17768e5 (patch) | |
tree | 2d2d381b11f6e69aa0659a6cbab36e3d878d8b22 /src/mbgl/style/parser.cpp | |
parent | 9b0093e32dece62abc6fd7add789613871252a58 (diff) | |
download | qtlocation-mapboxgl-b222689de835a8b83c387aff5e5f500ce17768e5.tar.gz |
[core] Pass geojsonvt only to GeoJSONSource
Diffstat (limited to 'src/mbgl/style/parser.cpp')
-rw-r--r-- | src/mbgl/style/parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/parser.cpp b/src/mbgl/style/parser.cpp index 0a11d6f978..a2ce5d2422 100644 --- a/src/mbgl/style/parser.cpp +++ b/src/mbgl/style/parser.cpp @@ -212,11 +212,11 @@ void Parser::parseSources(const JSValue& value) { } } - source = std::make_unique<RasterSource>(id, url, tileSize, std::move(tileset), std::move(geojsonvt)); + source = std::make_unique<RasterSource>(id, url, tileSize, std::move(tileset)); break; case SourceType::Vector: - source = std::make_unique<VectorSource>(id, url, tileSize, std::move(tileset), std::move(geojsonvt)); + source = std::make_unique<VectorSource>(id, url, tileSize, std::move(tileset)); break; case SourceType::GeoJSON: |