public SearchResult(Double latitude, Double longitude) { super(); this.type = RESULT_ADDRESS; Point point = getPoint(latitude, longitude); this.title = point.toString(); this.coordinates = point; }
public SearchResult(Point coordinates) { super(); this.type = RESULT_COORDINATES; this.title = coordinates.toString(); this.coordinates = coordinates; }