forked from organicmaps/organicmaps
Fix coordinate bits for world mwm.
This commit is contained in:
parent
1e40e08c61
commit
a94369c4e2
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ namespace feature
|
|||
DataHeader header;
|
||||
uint32_t coordBits = 27;
|
||||
if (isWorld)
|
||||
coordBits -= (scales::GetUpperScale() - scales::GetUpperWorldScale());
|
||||
coordBits -= ((scales::GetUpperScale() - scales::GetUpperWorldScale()) / 2);
|
||||
|
||||
header.SetCodingParams(serial::CodingParams(coordBits, midPoints.GetCenter()));
|
||||
header.SetScales(isWorld ? g_arrWorldScales : g_arrCountryScales);
|
||||
|
|
Loading…
Add table
Reference in a new issue