Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetTileScaleIncrement
Function
GetTileScaleIncrement
libs/drape_frontend/visual_params.cpp:194–197 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
192
}
193
194
int GetTileScaleIncrement(uint32_t tileSize, double visualScale)
195
{
196
return static_cast<int>(std::log2(tileSize / 256.0 / visualScale));
197
}
198
199
int GetTileScaleIncrement()
200
{
Callers
3
GetTileScaleBase
Function · 0.85
GetRectForDrawScale
Function · 0.85
GetDrawTileScale
Function · 0.85
Calls
3
log2
Function · 0.85
GetTileSize
Method · 0.80
GetVisualScale
Method · 0.80
Tested by
no test coverage detected