This commit is contained in:
Denis 2014-07-24 08:43:47 +04:00
parent 921f457e8c
commit a7be229c9c

View file

@ -55,7 +55,7 @@ public class TransportStopsLayer extends OsmandMapLayer implements ContextMenuLa
for (int i = 0; i < objects.size(); i++) {
TransportStop n = objects.get(i);
if (n.getLocation() == null){
return;
continue;
}
int x = (int) tb.getPixXFromLatLon(n.getLocation().getLatitude(), n.getLocation().getLongitude());
int y = (int) tb.getPixYFromLatLon(n.getLocation().getLatitude(), n.getLocation().getLongitude());