Merge pull request #5096 from osmandapp/PaulsBranch
Made a small improvement in subway entrance detection
This commit is contained in:
commit
0e7dd7c0f6
1 changed files with 2 additions and 2 deletions
|
@ -207,10 +207,10 @@ public class AmenityMenuController extends MenuController {
|
|||
amenity.getLocation().getLongitude());
|
||||
|
||||
boolean useEnglishNames = getMapActivity().getMyApplication().getSettings().usingEnglishNames();
|
||||
|
||||
boolean isSubwayEntrance = amenity.getSubType().equals("subway_entrance");
|
||||
|
||||
for (TransportIndexRepository t : reps) {
|
||||
ArrayList<TransportStop> ls = new ArrayList<>();
|
||||
boolean isSubwayEntrance = amenity.getSubType().equals("subway_entrance");
|
||||
QuadRect ll = MapUtils.calculateLatLonBbox(amenity.getLocation().getLatitude(), amenity.getLocation().getLongitude(),
|
||||
isSubwayEntrance ? 400 : 150);
|
||||
t.searchTransportStops(ll.top, ll.left, ll.bottom, ll.right, -1, ls, null);
|
||||
|
|
Loading…
Reference in a new issue