31 |
|
|
32 |
import java.util.Map; |
import java.util.Map; |
33 |
|
|
34 |
import org.geotools.feature.Feature; |
import org.geotools.feature.SimpleFeature; |
35 |
|
|
36 |
public interface SearchResult { |
public interface SearchResult { |
37 |
|
|
43 |
String getTitle(); |
String getTitle(); |
44 |
|
|
45 |
/** |
/** |
46 |
* "Open" the result. For a {@link Feature} that mean to zoom to the |
* "Open" the result. For a {@link SimpleFeature} that mean to zoom to the |
47 |
* location. For a {@link Map} if means to open the {@link Map}. |
* location. For a {@link Map} if means to open the {@link Map}. |
48 |
*/ |
*/ |
49 |
void open(); |
void open(); |