[core] Add virtual Source::getTileSize()

This commit is contained in:
John Firebaugh
2016-06-14 10:57:43 -07:00
parent 9d3c4fbbb0
commit 5bbcca8326
9 changed files with 18 additions and 12 deletions

View File

@@ -63,7 +63,7 @@ std::unique_ptr<GeoJSONSource> GeoJSONSource::parse(const std::string& id,
GeoJSONSource::GeoJSONSource(std::string id_,
std::string url_,
std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>&& geojsonvt_)
: Source(SourceType::GeoJSON, std::move(id_), util::tileSize),
: Source(SourceType::GeoJSON, std::move(id_)),
url(url_),
geojsonvt(std::move(geojsonvt_)) {
}