use of com.mapzen.tangram.LngLat in project StreetComplete by westnordost.
the class TangramConst method toLngLat.
public static List<List<LngLat>> toLngLat(List<List<LatLon>> positionLists) {
List<List<LngLat>> result = new ArrayList<>(positionLists.size());
for (List<LatLon> positions : positionLists) {
List<LngLat> resultPositions = new ArrayList<>(positions.size());
for (LatLon pos : positions) {
resultPositions.add(toLngLat(pos));
}
result.add(resultPositions);
}
return result;
}
Aggregations