Update TransportStopsLayer.java

This commit is contained in:
Bars107 2014-07-25 12:21:40 +03:00
parent d41978d926
commit 4c6ac7c845

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){
contunue;
continue;
}
int x = (int) tb.getPixXFromLatLon(n.getLocation().getLatitude(), n.getLocation().getLongitude());
int y = (int) tb.getPixYFromLatLon(n.getLocation().getLatitude(), n.getLocation().getLongitude());