List<HObject> objects = clientBean.getBackendBean().getMap(filter);
StringBuilder objectsBuilder = new StringBuilder();
StringBuilder objectTitlesBuilder = new StringBuilder();
for (HObject object : objects) {
Place place = null;
if (object.getProperties() == null) {
continue;
}
for (Property property : object.getProperties()) {
if (PLACE_NAME.equals(property.getName())) {
place = property.getPlace();
break;
}
}
if (place == null) {
continue;
}
StringBuilder objectB = new StringBuilder();
if (place.getPoint() != null) {
objectB.append("p:").append(place.getPoint().getX()).append(":").append(place.getPoint().getY());
} else if (place.getArea() != null) {
objectB.append(object.getUid()).append(MAP_SEPARATOR);
objectB.append(AREA_CONSTANT).append(MAP_SEPARATOR);
String coords = convertCoordinates(place.getArea());
if (coords == null) {
continue;
}
objectB.append(coords);
} else {