Add debug information
This commit is contained in:
parent
f1ac2e94e9
commit
0bd8d59540
2 changed files with 2 additions and 2 deletions
|
@ -432,7 +432,7 @@ public class MapRenderRepositories {
|
||||||
handler.post(new Runnable(){
|
handler.post(new Runnable(){
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
|
Toast.makeText(context, msg, Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -391,7 +391,7 @@ public class OsmandRenderer {
|
||||||
notifyListeners(notifyList);
|
notifyListeners(notifyList);
|
||||||
drawTextOverCanvas(rc, cv, useEnglishNames);
|
drawTextOverCanvas(rc, cv, useEnglishNames);
|
||||||
long time = System.currentTimeMillis() - now;
|
long time = System.currentTimeMillis() - now;
|
||||||
rc.renderingDebugInfo = String.format("Rendering has been done in %s ms. (%s points, %s points inside, %s visile from %s)",//$NON-NLS-1$
|
rc.renderingDebugInfo = String.format("Rendering has been done in %s ms. (%s points, %s points inside, %s objects visile from %s)",//$NON-NLS-1$
|
||||||
time, rc.pointCount, rc.pointInsideCount, rc.visible, rc.allObjects);
|
time, rc.pointCount, rc.pointInsideCount, rc.visible, rc.allObjects);
|
||||||
log.info(rc.renderingDebugInfo);
|
log.info(rc.renderingDebugInfo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue