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