25 |
* |
* |
26 |
* Contributors: |
* Contributors: |
27 |
* Martin O. J. Schmitz - initial API and implementation |
* Martin O. J. Schmitz - initial API and implementation |
28 |
* Stefan A. Krüger - additional utility classes |
* Stefan A. Tzeggai - additional utility classes |
29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package skrueger.geotools.labelsearch; |
package skrueger.geotools.labelsearch; |
31 |
|
|
32 |
import java.util.Map; |
import java.util.Map; |
33 |
|
|
34 |
import org.geotools.feature.Feature; |
import org.opengis.feature.simple.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(); |