for (CityNode node : road_network.nodes.values()) { XY map_pos = road_network.positions.junction_map_positions.get(node.name); XY display_pos = new XY(xoffset + scale * map_pos.x, yoffset + scale * map_pos.y); road_network.positions.junction_display_positions.put(node.name, display_pos); }