Update OsmBugsLayer.java

This commit is contained in:
Bars107 2014-08-05 20:37:16 +03:00
parent a2b46e097b
commit 30a830601f

View file

@ -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>();
}
};
}