skrueger.geotools.labelsearch
Class LabelSearch
java.lang.Object
skrueger.geotools.labelsearch.LabelSearch
public class LabelSearch
- extends Object
This class allows to search for a String
in a map. The algorithm will
analyze the Style
of every visible(?) layer and determine the label
attribute. This field is then searched for every feature.
- Author:
- Stefan A. Krüger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
public static ResourceProvider RESOURCE
mapPane
protected final JMapPane mapPane
LabelSearch
public LabelSearch(JMapPane mapPane)
R
public static String R(String key,
Object... values)
search
public List<SearchResult> search(String string)
createSearchResult
protected SearchResult createSearchResult(Feature f,
String title,
String inTitle,
MapLayer ml)