|
@@ -81,7 +81,7 @@ public class CruiseShipMappingServiceImpl implements ICruiseShipMappingService
|
|
|
return cruiseShipMappingMapper.deleteCruiseShipMappingById(id);
|
|
|
}
|
|
|
|
|
|
- private List<String> color = Arrays.asList("white", "ivory", "lightyellow", "yellow", "snow", "floralwhite","red","blue","orange","wheat","lightgreen");
|
|
|
+ private List<String> color = Arrays.asList("red","white", "ivory", "lightyellow", "yellow", "snow", "floralwhite","blue","orange","wheat","lightgreen");
|
|
|
@Override
|
|
|
public List<Map<String, Object>> getShipRouteData() {
|
|
|
List<Map<String, Object>> combinedData = new ArrayList<>();
|
|
@@ -98,6 +98,7 @@ public class CruiseShipMappingServiceImpl implements ICruiseShipMappingService
|
|
|
map.put("lat", lat[j]);
|
|
|
data1.add(map);
|
|
|
}
|
|
|
+ data.put("id", recentLocations.get(i).getId());
|
|
|
data.put("polylinePath",data1);
|
|
|
data.put("color", color.get(i));
|
|
|
data.put("shipName", recentLocations.get(i).getShipName());
|