73 |
return RESOURCE.getString(key, values); |
return RESOURCE.getString(key, values); |
74 |
} |
} |
75 |
|
|
76 |
protected final schmitzm.geotools.gui.JMapPane mapPane; |
protected final schmitzm.geotools.gui.SelectableXMapPane mapPane; |
77 |
|
|
78 |
public LabelSearch(final schmitzm.geotools.gui.JMapPane mapPane) { |
public LabelSearch(final schmitzm.geotools.gui.SelectableXMapPane mapPane) { |
79 |
this.mapPane = mapPane; |
this.mapPane = mapPane; |
80 |
} |
} |
81 |
|
|
108 |
|
|
109 |
final ArrayList<SearchResult> hits = new ArrayList<SearchResult>(); |
final ArrayList<SearchResult> hits = new ArrayList<SearchResult>(); |
110 |
|
|
111 |
for (final MapLayer ml : mapPane.getContext().getLayers()) { |
for (final MapLayer ml : mapPane.getMapContext().getLayers()) { |
112 |
try { |
try { |
113 |
|
|
114 |
// System.out.println("layer = "+ml.getTitle()); |
// System.out.println("layer = "+ml.getTitle()); |