Made a small improvement in subway entrance detection
This commit is contained in:
parent
fca127c51b
commit
784b2f3efc
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