update
This commit is contained in:
parent
ce2b0eacbf
commit
576e70a606
2 changed files with 4 additions and 2 deletions
|
@ -232,8 +232,10 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
switchToRoutePlanningMode();
|
switchToRoutePlanningMode();
|
||||||
}
|
}
|
||||||
// When location is changed we need to refresh map in order to show movement!
|
// When location is changed we need to refresh map in order to show movement!
|
||||||
|
if (!mapView.isServerRendering()){
|
||||||
mapView.refreshMap();
|
mapView.refreshMap();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (dashboard != null) {
|
if (dashboard != null) {
|
||||||
dashboard.updateMyLocation(location);
|
dashboard.updateMyLocation(location);
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class TileEndpoint implements OsmAndHttpServer.ApiEndpoint {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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
|
// https://tile.osmand.net/hd/6/55/25.png
|
||||||
int extInd = url.indexOf('.');
|
int extInd = url.indexOf('.');
|
||||||
if (extInd >= 0) {
|
if (extInd >= 0) {
|
||||||
|
|
Loading…
Reference in a new issue