forked from organicmaps/organicmaps-tmp
Minor fix.
This commit is contained in:
parent
309c33236f
commit
99390c215a
1 changed files with 4 additions and 1 deletions
|
@ -527,7 +527,10 @@ namespace feature
|
|||
coordBits -= ((scales::GetUpperScale() - scales::GetUpperWorldScale()) / 2);
|
||||
|
||||
header.SetCodingParams(serial::CodingParams(coordBits, midPoints.GetCenter()));
|
||||
header.SetScales(isWorld ? g_arrWorldScales : g_arrCountryScales);
|
||||
if (isWorld)
|
||||
header.SetScales(g_arrWorldScales);
|
||||
else
|
||||
header.SetScales(g_arrCountryScales);
|
||||
header.SetType(static_cast<DataHeader::MapType>(mapType));
|
||||
|
||||
FeaturesCollector2 collector(datFilePath, header);
|
||||
|
|
Loading…
Add table
Reference in a new issue