/[schmitzm]/branches/2.4.x/src/skrueger/geotools/labelsearch/LabelSearch.java
ViewVC logotype

Diff of /branches/2.4.x/src/skrueger/geotools/labelsearch/LabelSearch.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 456 by alfonx, Sun Oct 11 21:43:40 2009 UTC revision 551 by alfonx, Mon Nov 23 15:47:04 2009 UTC
# Line 73  public class LabelSearch { Line 73  public class LabelSearch {
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    
# Line 108  public class LabelSearch { Line 108  public class LabelSearch {
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());

Legend:
Removed from v.456  
changed lines
  Added in v.551

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26