Fix satellite style contour rendering

This commit is contained in:
John Firebaugh
2015-03-08 12:44:47 -07:00
parent 78900c6eee
commit 9897ae74ec

View File

@@ -946,7 +946,7 @@ void StyleParser::parseBucket(JSVal value, util::ptr<StyleLayer> &layer) {
if (value.HasMember("maxzoom")) {
JSVal max_zoom = value["maxzoom"];
if (max_zoom.IsNumber()) {
bucket->min_zoom = max_zoom.GetDouble();
bucket->max_zoom = max_zoom.GetDouble();
} else {
Log::Warning(Event::ParseStyle, "maxzoom of layer %s must be numeric", layer->id.c_str());
}