Set minzoom 10 when moving by search
This commit is contained in:
parent
5e0bf8d6aa
commit
46ddaf64a8
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
|||
tb.setPixelDimensions(tbw, tbh);
|
||||
|
||||
tb.setLatLonCenter(latLonToShow.getLatitude(), latLonToShow.getLongitude());
|
||||
while (!tb.containsLatLon(prevCenter.getLatitude(), prevCenter.getLongitude())) {
|
||||
while (!tb.containsLatLon(prevCenter.getLatitude(), prevCenter.getLongitude()) && tb.getZoom() > 10) {
|
||||
tb.setZoom(tb.getZoom() - 1);
|
||||
}
|
||||
//mapContextMenu.setMapZoom(settings.getMapZoomToShow());
|
||||
|
|
Loading…
Reference in a new issue