This commit is contained in:
simon 2020-09-09 15:44:39 +03:00
parent ce2b0eacbf
commit 576e70a606
2 changed files with 4 additions and 2 deletions

View file

@ -232,7 +232,9 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
switchToRoutePlanningMode();
}
// When location is changed we need to refresh map in order to show movement!
mapView.refreshMap();
if (!mapView.isServerRendering()){
mapView.refreshMap();
}
}
if (dashboard != null) {

View file

@ -62,7 +62,7 @@ public class TileEndpoint implements OsmAndHttpServer.ApiEndpoint {
}
@Override
public synchronized NanoHTTPD.Response process(NanoHTTPD.IHTTPSession session, String url) {
public NanoHTTPD.Response process(NanoHTTPD.IHTTPSession session, String url) {
// https://tile.osmand.net/hd/6/55/25.png
int extInd = url.indexOf('.');
if (extInd >= 0) {