Update OsmBugsLayer.java
This commit is contained in:
parent
a2b46e097b
commit
30a830601f
1 changed files with 2 additions and 4 deletions
|
@ -109,10 +109,8 @@ public class OsmBugsLayer extends OsmandMapLayer implements IContextMenuProvider
|
|||
@Override
|
||||
protected List<OpenStreetNote> calculateResult(RotatedTileBox tileBox) {
|
||||
QuadRect bounds = tileBox.getLatLonBounds();
|
||||
if (bounds != null){
|
||||
return loadingBugs(bounds.top, bounds.left, bounds.bottom, bounds.right);
|
||||
}
|
||||
return new ArrayList<OpenStreetNote>();
|
||||
return loadingBugs(bounds.top, bounds.left, bounds.bottom, bounds.right);
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue