summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/geojson_source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/sources/geojson_source.cpp')
-rw-r--r--src/mbgl/style/sources/geojson_source.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/style/sources/geojson_source.cpp b/src/mbgl/style/sources/geojson_source.cpp
index 2ac80517af..f6dfc21e72 100644
--- a/src/mbgl/style/sources/geojson_source.cpp
+++ b/src/mbgl/style/sources/geojson_source.cpp
@@ -162,10 +162,11 @@ Value GeoJSONSource::getPropertyInternal(const std::string& name) const {
return Value();
}
-Value GeoJSONSource::getPropertyDefaultValueInternal(const std::string& name) const {
+// static
+Value GeoJSONSource::getPropertyDefaultValue(const std::string& name) {
using namespace conversion;
if (name == "options") return makeValue(*GeoJSONOptions::defaultOptions());
- return Value();
+ return Source::getPropertyDefaultValue(name);
}
Value GeoJSONSource::serialize() const {