- DistrictNetworkUtil.createVertex(graph, diagramResource, new double[] { x, y }, 0, mapping); // TODO: elevation can be fetched from e.g. elevation API
+ DistrictNetworkUtil.createVertex(graph, diagramResource, new double[] { x, y }, Double.MAX_VALUE, mapping);
}
});
}, 100, TimeUnit.MILLISECONDS);
}
});
}, 100, TimeUnit.MILLISECONDS);
@@ -234,16+242,16 @@ public class NetworkDrawingNode extends G2DNode {
detailedGeometryCoords[i++] = lon;
detailedGeometryCoords[i++] = lat;
}
detailedGeometryCoords[i++] = lon;
detailedGeometryCoords[i++] = lat;
}
-
+
DNEdgeBuilder builder = new DNEdgeBuilder(diagramResource, diagram);