diff --git a/WHATS_NEW.md b/WHATS_NEW.md index 99957a6c..741497e8 100644 --- a/WHATS_NEW.md +++ b/WHATS_NEW.md @@ -56,6 +56,14 @@ we encapsulated these attributes in an object called Location. It is not only cl allows you to assign a location index. Thus, you can save the transport times and distances between locations in (fast) arrays rather than maps (see FastVehicleRoutingTransportCostMatrix). +Thus from now on define locations like this: +
Location location = Location.newInstance(Coordinate.newInstance(0,0));
+
+or if you require an index as well as a coordinate, code this:
+
+Location location = Location.Builder.newInstance().setIndex(1).setCoordinate(Coordinate.newInstance(0,0).build();
+
+
------------------------------
2014-12-12 new release **v1.5**