Skip to content

Commit

Permalink
fix: get json bool values (#1274)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjanetzek authored and tallytalwar committed Feb 2, 2017
1 parent 9322653 commit 977f5fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/util/geoJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ Properties GeoJson::getProperties(const JsonValue& _in, int32_t _sourceId) {
items.emplace_back(name, value.GetDouble());
} else if (it->value.IsString()) {
items.emplace_back(name, value.GetString());
} else if (it->value.IsBool()) {
items.emplace_back(name, double(value.GetBool()));
}

}

Properties properties;
Expand Down

0 comments on commit 977f5fc

Please sign in to comment.