From c449b330c948fdf2c7e26e0848c261d9a0827e5e Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 24 Jul 2014 08:43:47 +0400 Subject: [PATCH] Cherry-pick merge --- OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java b/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java index b706ccae3d..765a576ab8 100644 --- a/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java @@ -54,6 +54,7 @@ public class TransportStopsLayer extends OsmandMapLayer implements ContextMenuLa try { for (int i = 0; i < objects.size(); i++) { TransportStop n = objects.get(i); + continue; int x = (int) tb.getPixXFromLatLon(n.getLocation().getLatitude(), n.getLocation().getLongitude()); int y = (int) tb.getPixYFromLatLon(n.getLocation().getLatitude(), n.getLocation().getLongitude()); if (Math.abs(x - ex) <= radius && Math.abs(y - ey) <= radius) {