/[schmitzm]/branches/2.0-RC2/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java
ViewVC logotype

Diff of /branches/2.0-RC2/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java

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

trunk/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java revision 162 by alfonx, Mon Jun 22 21:05:20 2009 UTC branches/2.0-RC2/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java revision 621 by alfonx, Thu Jan 28 10:06:05 2010 UTC
# Line 1  Line 1 
1    /*******************************************************************************
2     * Copyright (c) 2009 Martin O. J. Schmitz.
3     *
4     * This file is part of the SCHMITZM library - a collection of utility
5     * classes based on Java 1.6, focusing (not only) on Java Swing
6     * and the Geotools library.
7     *
8     * The SCHMITZM project is hosted at:
9     * http://wald.intevation.org/projects/schmitzm/
10     *
11     * This program is free software; you can redistribute it and/or
12     * modify it under the terms of the GNU Lesser General Public License
13     * as published by the Free Software Foundation; either version 3
14     * of the License, or (at your option) any later version.
15     *
16     * This program is distributed in the hope that it will be useful,
17     * but WITHOUT ANY WARRANTY; without even the implied warranty of
18     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19     * GNU General Public License for more details.
20     *
21     * You should have received a copy of the GNU Lesser General Public License (license.txt)
22     * along with this program; if not, write to the Free Software
23     * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
24     * or try this link: http://www.gnu.org/licenses/lgpl.html
25     *
26     * Contributors:
27     *     Martin O. J. Schmitz - initial API and implementation
28     *     Stefan A. Krüger - additional utility classes
29     ******************************************************************************/
30  /**  /**
31   Copyright 2008 Stefan Alfons Krüger   Copyright 2008 Stefan Alfons Krüger
32    
33   atlas-framework - This file is part of the Atlas Framework   atlas-framework - This file is part of the Atlas Framework
34    
35   This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.   This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
# Line 15  package skrueger.geotools.selection; Line 44  package skrueger.geotools.selection;
44    
45  import java.beans.PropertyChangeEvent;  import java.beans.PropertyChangeEvent;
46  import java.beans.PropertyChangeListener;  import java.beans.PropertyChangeListener;
47  import java.util.Arrays;  import java.io.File;
 import java.util.Collection;  
48  import java.util.HashSet;  import java.util.HashSet;
49    import java.util.Iterator;
50  import java.util.Set;  import java.util.Set;
51  import java.util.Vector;  import java.util.Vector;
52    
# Line 25  import javax.swing.JTable; Line 54  import javax.swing.JTable;
54  import javax.swing.ListSelectionModel;  import javax.swing.ListSelectionModel;
55  import javax.swing.event.ListSelectionListener;  import javax.swing.event.ListSelectionListener;
56    
57  import org.geotools.feature.Feature;  import org.geotools.feature.FeatureCollection;
58    import org.geotools.feature.FeatureIterator;
59    import org.geotools.filter.FidFilterImpl;
60  import org.geotools.map.MapLayer;  import org.geotools.map.MapLayer;
61  import org.geotools.styling.FeatureTypeStyle;  import org.geotools.styling.FeatureTypeStyle;
62  import org.geotools.styling.Style;  import org.geotools.styling.Style;
63    import org.geotools.styling.visitor.DuplicatingStyleVisitor;
64    import org.opengis.feature.simple.SimpleFeature;
65    import org.opengis.feature.simple.SimpleFeatureType;
66    import org.opengis.filter.Filter;
67    import org.opengis.filter.Not;
68  import org.opengis.filter.identity.FeatureId;  import org.opengis.filter.identity.FeatureId;
69    
70  import schmitzm.geotools.FilterUtil;  import schmitzm.geotools.FilterUtil;
71  import schmitzm.geotools.gui.JMapPane;  import schmitzm.geotools.gui.SelectableXMapPane;
72  import schmitzm.geotools.map.event.FeatureSelectedEvent;  import schmitzm.geotools.map.event.FeatureSelectedEvent;
 import schmitzm.geotools.map.event.JMapPaneEvent;  
73  import schmitzm.geotools.map.event.JMapPaneListener;  import schmitzm.geotools.map.event.JMapPaneListener;
74    import schmitzm.geotools.map.event.MapPaneEvent;
75  import schmitzm.geotools.styling.StylingUtil;  import schmitzm.geotools.styling.StylingUtil;
 import schmitzm.lang.LangUtil;  
76  import skrueger.geotools.MapPaneToolBar;  import skrueger.geotools.MapPaneToolBar;
77  import skrueger.geotools.StyledMapInterface;  import skrueger.geotools.StyledFeaturesInterface;
78    
79  /**  /**
80   * This class keeps the selection of a (feature) {@link JTable} synchronized   * This class keeps the selection of a (feature) {@link JTable} synchronized
# Line 62  import skrueger.geotools.StyledMapInterf Line 97  import skrueger.geotools.StyledMapInterf
97  public class FeatureMapLayerSelectionSynchronizer extends  public class FeatureMapLayerSelectionSynchronizer extends
98                  StyledLayerSelectionModelSynchronizer<StyledFeatureLayerSelectionModel>                  StyledLayerSelectionModelSynchronizer<StyledFeatureLayerSelectionModel>
99                  implements JMapPaneListener {                  implements JMapPaneListener {
100          public static final String SELECTION_STYLING = "SELECTION";  
101            /**
102             * This constant is set as the {@link FeatureTypeStyle#getName()} attribute
103             * in the {@link FeatureTypeStyle}s that only exist to present the selected
104             * features
105             **/
106            public static final String SELECTION_STYLING_FTS_NAME = "SELECTION";
107    
108          /**          /**
109           * Holds the {@link MapLayer} to keep synchronized with the layer selection           * Holds the {@link MapLayer} to keep synchronized with the layer selection
110           * model.           * model.
111           */           */
112          protected final MapLayer mapLayer;          protected final MapLayer mapLayer;
113          protected final StyledMapInterface<?> styledMapLayer;          protected final StyledFeaturesInterface<?> styledLayer;
114          protected final JMapPane mapPane;          protected final SelectableXMapPane mapPane;
115          private final MapPaneToolBar toolBar;          private final MapPaneToolBar toolBar;
116    
117          /**          /**
# Line 84  public class FeatureMapLayerSelectionSyn Line 126  public class FeatureMapLayerSelectionSyn
126           */           */
127          public FeatureMapLayerSelectionSynchronizer(          public FeatureMapLayerSelectionSynchronizer(
128                          StyledFeatureLayerSelectionModel layerSelModel,                          StyledFeatureLayerSelectionModel layerSelModel,
129                          StyledMapInterface<?> styledMapLayer, MapLayer mapLayer,                          StyledFeaturesInterface<?> styledLayer, MapLayer mapLayer,
130                          JMapPane mapPane, MapPaneToolBar toolBar) {                          SelectableXMapPane mapPane, MapPaneToolBar toolBar) {
131    
132                  super(layerSelModel);                  super(layerSelModel);
133                  this.styledMapLayer = styledMapLayer;                  this.styledLayer = styledLayer;
134    
135                  this.mapLayer = mapLayer;                  this.mapLayer = mapLayer;
136                  this.mapPane = mapPane;                  this.mapPane = mapPane;
# Line 138  public class FeatureMapLayerSelectionSyn Line 180  public class FeatureMapLayerSelectionSyn
180           * selection.           * selection.
181           *           *
182           * @param newSelection           * @param newSelection
183           *            A {@link Vector} of Feature-IDs that are selected.           *            A {@link Vector} of SimpleFeature-IDs that are selected.
184           */           */
185          private void changeLayerStyle(final Vector<String> newSelection) {          private void changeLayerStyle(final Vector<String> newSelection) {
                 Style selectionMapStyle = null;  
186                  try {                  try {
187    
188                            Style originalStyle = mapLayer.getStyle();
189    
190                          if (newSelection.isEmpty()) {                          if (newSelection.isEmpty()) {
191    
192                                  selectionMapStyle = styledMapLayer.getStyle();                                  // Check if the Style contains a SELECTION FTS
193                                  // LOGGER.debug("NO SELECTION .. set to original style directly");  
194                                    FeatureTypeStyle[] clone = originalStyle.featureTypeStyles()
195                                                    .toArray(new FeatureTypeStyle[] {}).clone();
196    
197                                    for (FeatureTypeStyle fts : clone) {
198                                            if (fts.getName() != null
199                                                            && fts.getName().equals(SELECTION_STYLING_FTS_NAME)) {
200                                                    originalStyle.featureTypeStyles().remove(fts);
201    
202                                                    mapLayer.setStyle(originalStyle);
203                                                    // replaceRenderer();
204                                                    // // mapPane.refresh();
205    
206                                                    return;
207                                            }
208                                    }
209    
210                          } else {                          } else {
211    
212                                  LOGGER.debug("SELECTION .. change style");                                  LOGGER.debug("SELECTION .. change style");
213    
214                                    // Saving a repaint if the selection didn't change
215                                    if (!selectionChanged(newSelection, originalStyle)) {
216                                            return;
217                                    }
218    
219                                  // We take Style from the MapLayer that is displayed at the                                  // We take Style from the MapLayer that is displayed at the
220                                  // moment. We do not use the styledMapLayer.getStyle, because in                                  // moment. We do not use the styledLayer.getStyle, because in
221                                  // the atlas, this always return the default style, but                                  // the atlas, this always return the default style, but
222                                  // additionaly styles might be selected.                                  // additional styles might be selected.
223                                  // Taking the style from the mapLayer indicated, that we have to                                  // Taking the style from the mapLayer indicated, that we have to
224                                  // remove any selection rules first.                                  // remove any selection rules first.
                                 Style originalStyle = mapLayer.getStyle();  
225    
226                                  // TODO The default style is not good here. We need                                  FeatureTypeStyle selectionFTStyle = StylingUtil
227                                  // .createSelectionStyle(normalStyle, geoObj);                                                  .createSelectionStyle(styledLayer.getGeoObject());
                                 selectionMapStyle = StylingUtil  
                                                 .createSelectionStyle(styledMapLayer.getGeoObject());  
                                 // selectionMapStyle = StylingUtil  
                                 // .createDefaultStyle(styledMapLayer.getGeoObject());  
228    
229                                  selectionMapStyle.getFeatureTypeStyles()[0]                                  selectionFTStyle.setName(SELECTION_STYLING_FTS_NAME);
                                                 .setName(SELECTION_STYLING);  
230    
231                                  /**                                  /**
232                                   *                                   *
233                                   * Add a Filter to the selectionMapStyle, so that it is only                                   * Add a Filter to the selectionMapStyle, so that it is only
234                                   * used on objects that are selected. <br/>                                   * used on objects that are selected. <br/>
235                                     * To optimize rendering speed, the filter checks whether more
236                                     * than half of the features are selected. If so, the filter is
237                                     * inverted to be shorter.
238                                   *                                   *
                                  * Note 1:<br/>  
                                  * It is NEVER allowed to GeoTools extend Filter () { .. } (and write  
                                  * tests into the evaluate block). Especially for the  
                                  * ShapeFileRenderer, we may only use a geotools Filter.<br/>  
                                  *  
                                  * Note 2:<br/>  
                                  * The FilterUtil.FILTER_FAC2.id(fids) wants a set of FeatureId-Objects!  
239                                   */                                   */
240                                    final FeatureCollection<SimpleFeatureType, SimpleFeature> featureCollectionFiltered = styledLayer
241                                                    .getFeatureCollectionFiltered();
242                                    if (newSelection.size() > featureCollectionFiltered.size() / 2) {
243                                            FeatureIterator<SimpleFeature> iterator = featureCollectionFiltered
244                                                            .features();
245                                            Set<FeatureId> antiFids = new HashSet<FeatureId>();
246                                            try {
247                                                    while (iterator.hasNext()) {
248                                                            SimpleFeature next = iterator.next();
249                                                            if (!newSelection.contains(next.getID()))
250                                                                    antiFids.add(FilterUtil.FILTER_FAC2
251                                                                                    .featureId(next.getID()));
252                                                    }
253    
254                                                    selectionFTStyle.rules().get(0).setFilter(
255                                                                    FilterUtil.FILTER_FAC2
256                                                                                    .not(FilterUtil.FILTER_FAC2
257                                                                                                    .id(antiFids)));
258    
259                                            } finally {
260                                                    featureCollectionFiltered.close(iterator);
261                                            }
262                                    } else {
263                                            Set<FeatureId> fids = new HashSet<FeatureId>();
264                                            for (String fid : newSelection) {
265                                                    fids.add(FilterUtil.FILTER_FAC2.featureId(fid));
266                                            }
267    
268                                  Set<FeatureId> fids = new HashSet<FeatureId>();                                          selectionFTStyle.rules().get(0).setFilter(
269                                  for (String fid : newSelection) {                                                          FilterUtil.FILTER_FAC2.id(fids));
                                         fids.add(FilterUtil.FILTER_FAC2.featureId(fid));  
270                                  }                                  }
271    
272                                  selectionMapStyle.getFeatureTypeStyles()[0].getRules()[0]                                  // Maybe there has already been another selection
273                                                  .setFilter(FilterUtil.FILTER_FAC2.id(fids));                                  // FeatureTypeStyle... Let's replace it...
274                                    boolean foundAndReplaced = false;
275                                  FeatureTypeStyle[] originalFeatureTypeStyles = originalStyle                                  for (FeatureTypeStyle fts : originalStyle.featureTypeStyles()) {
276                                                  .getFeatureTypeStyles();                                          if (fts.getName() != null
277                                  FeatureTypeStyle[] newFeatureTypes;                                                          && fts.getName().equals(SELECTION_STYLING_FTS_NAME)) {
278                                  if (originalFeatureTypeStyles[originalFeatureTypeStyles.length - 1]                                                  foundAndReplaced = true;
279                                                  .getName() != null                                                  fts.rules().clear();
280                                                  && originalFeatureTypeStyles[originalFeatureTypeStyles.length - 1]                                                  fts.rules().addAll(selectionFTStyle.rules());
281                                                                  .getName().equals(SELECTION_STYLING)) {                                                  break;
282                                          newFeatureTypes = Arrays.copyOf(originalFeatureTypeStyles,                                          }
283                                                          originalFeatureTypeStyles.length - 1);                                  }
284                                  } else {                                  if (!foundAndReplaced) {
285                                          newFeatureTypes = originalFeatureTypeStyles;                                          originalStyle.featureTypeStyles().add(selectionFTStyle);
286                                  }                                  }
287    
288                                  // The last FTS is the selection FTS                                  // Refresh the map
289                                  newFeatureTypes = LangUtil.extendArray(newFeatureTypes,                                  // mapPane.refresh();
                                                 selectionMapStyle.getFeatureTypeStyles());  
290    
291                                  selectionMapStyle.setFeatureTypeStyles(newFeatureTypes);                                  DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
292                                    dsv.visit(originalStyle);
293                                    Style newStyle = (Style) dsv.getCopy();
294    
295                                    // SK-Debug
296                                    try {
297                                            //
298                                            StylingUtil.saveStyleToSLD(newStyle, new File(
299                                                            "/home/stefan/Desktop/selection.sld"));
300                                    } catch (Exception e) {
301                                    }
302    
303                                    // DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
304                                    // dsv.visit(originalStyle);
305                                    // Style newStyle = originalStyle;
306    
307                                    // Style newStyle = StylingUtil.STYLE_BUILDER.createStyle();
308                                    // newStyle.featureTypeStyles().addAll(originalStyle.featureTypeStyles());
309                                    mapLayer.setStyle(newStyle);
310    
311                                    replaceRenderer();
312                          }                          }
313    
                         mapLayer.setStyle(selectionMapStyle);  
                         mapPane.refresh();  
314                  } catch (Exception e) {                  } catch (Exception e) {
315                          LOGGER.error("Error while trying to create a selection style", e);                          LOGGER.error("Error while trying to create a selection style", e);
316                  }                  }
317          }          }
318    
319          /**          /**
320             * Analyzes whether the selection has changed in comparison to the selection
321             * stored in the mapLayer.Style
322             *
323             * @param newSelection a List<String> of all newly selected FIDs
324             * @param originalStyle the original {@link Style} that has an earlier selection coded into the {@link Style}
325             * @return <code>true</code> if changed.
326             */
327            private boolean selectionChanged(Vector<String> newSelection,
328                            Style originalStyle) {
329    
330                    boolean SELECTION_STYLING_foundInMapStyle = false;
331    
332                    /**
333                     * testing, whether the selection really changed. If not, we can save
334                     * one rendering!
335                     */
336                    for (FeatureTypeStyle fts : originalStyle.featureTypeStyles()) {
337    
338                            if (fts.getName() != null
339                                            && fts.getName().equals(SELECTION_STYLING_FTS_NAME)) {
340    
341                                    SELECTION_STYLING_foundInMapStyle = true;
342    
343                                    Filter filter = fts.rules().get(0).getFilter();
344                                    if (filter instanceof Not) {
345                                            FidFilterImpl antiOrigFidsFilter = (FidFilterImpl) ((Not) filter)
346                                                            .getFilter();
347    
348                                            // Check one way
349                                            final Set<String> antiFids = antiOrigFidsFilter
350                                                            .getFidsSet();
351    
352                                            if (antiFids.isEmpty() && !newSelection.isEmpty())
353                                                    return true;
354    
355                                            for (String fid : antiFids) {
356                                                    if (newSelection.contains(fid)) {
357                                                            return true;
358                                                    }
359                                            }
360    
361                                            // Check the other way
362                                            for (String fid : newSelection) {
363                                                    if (antiFids.contains(fid)) {
364                                                            return true;
365                                                    }
366                                            }
367    
368                                            if (antiFids.size() + newSelection.size() != styledLayer
369                                                            .getFeatureCollectionFiltered().size())
370                                                    return true;
371    
372                                    } else {
373                                            FidFilterImpl origFidsFilter = (FidFilterImpl) filter;
374    
375                                            // Check one way
376                                            final Set<String> fids = origFidsFilter.getFidsSet();
377    
378                                            if (fids.isEmpty() && newSelection.isEmpty())
379                                                    return false;
380                                            if (fids.size() != newSelection.size())
381                                                    return true;
382    
383                                            for (String fid : fids) {
384                                                    if (!newSelection.contains(fid)) {
385                                                            return true;
386                                                    }
387                                            }
388    
389                                            // Check the other way
390                                            for (String fid : newSelection) {
391                                                    if (!fids.contains(fid)) {
392                                                            return true;
393                                                    }
394                                            }
395    
396                                    }
397    
398                                    break;
399                            }
400                    }
401    
402                    if (!SELECTION_STYLING_foundInMapStyle && !newSelection.isEmpty())
403                            return true;
404    
405                    return false;
406            }
407    
408            /**
409             * Replaces the local renderer
410             */
411            private void replaceRenderer() {
412            }
413    
414            /**
415           * Used to synchronize {@link FeatureSelectedEvent}s with the           * Used to synchronize {@link FeatureSelectedEvent}s with the
416           * {@link StyledFeatureLayerSelectionModel}           * {@link StyledFeatureLayerSelectionModel}
417           */           */
418          @Override          @Override
419          public void performMapPaneEvent(JMapPaneEvent e) {          public void performMapPaneEvent(MapPaneEvent e) {
420    
421                  // Ignore event if it is caused by us or the synchronizer is disabled.                  // Ignore event if it is caused by us or the synchronizer is disabled.
422                  if (!isEnabled() || selectionChangeCausedByMe)                  if (!isEnabled() || selectionChangeCausedByMe)
# Line 251  public class FeatureMapLayerSelectionSyn Line 443  public class FeatureMapLayerSelectionSyn
443                  if (e.getSourceObject() != this.mapPane)                  if (e.getSourceObject() != this.mapPane)
444                          return;                          return;
445    
                 FeatureSelectedEvent fse = (FeatureSelectedEvent) e;  
   
446                  /**                  /**
447                   * Checking, that the FeatureSelectedEvent actually contains features                   * Checking, that the FeatureSelectedEvent actually contains features
448                   * from this layer                   * from this layer
449                   */                   */
450                    FeatureSelectedEvent fse = (FeatureSelectedEvent) e;
451                  final String sourceID = fse.getSourceLayer().getTitle();                  final String sourceID = fse.getSourceLayer().getTitle();
452                  final String syncForID = mapLayer.getTitle();                  final String syncForID = mapLayer.getTitle();
453                  if (sourceID != null && syncForID != null                  if (sourceID != null && syncForID != null
# Line 265  public class FeatureMapLayerSelectionSyn Line 456  public class FeatureMapLayerSelectionSyn
456                          return;                          return;
457                  }                  }
458    
459                  LOGGER.debug("do event " + fse);                  // LOGGER.debug("do event " + fse);
460    
461                  // Avoid event circles in propertyChange(..)                  // Avoid event circles in propertyChange(..)
462                  selectionChangeCausedByMe = true;                  selectionChangeCausedByMe = true;
463    
464                  Collection<Feature> selectionResult = (Collection<Feature>) fse                  final FeatureCollection<SimpleFeatureType, SimpleFeature> selectionResult = fse
465                                  .getSelectionResult();                                  .getSelectionResult();
466                    Iterator<SimpleFeature> fi = selectionResult.iterator();
467                    try {
468    
469                  // reset the selection of the DpLayerSelectionModel                          // reset the selection of the DpLayerSelectionModel
470                  // layerSelModel.setValueIsAdjusting(true);                          // layerSelModel.setValueIsAdjusting(true);
471    
472                  if (selectedTool == MapPaneToolBar.TOOL_SELECTION_ADD) {                          if (selectedTool == MapPaneToolBar.TOOL_SELECTION_ADD) {
473                          layerSelModel.setValueIsAdjusting(true);                                  layerSelModel.setValueIsAdjusting(true);
                         for (Feature f : selectionResult) {  
                                 layerSelModel.addSelection(f.getID());  
                         }  
                         layerSelModel.setValueIsAdjusting(false);  
                 } else if (selectedTool == MapPaneToolBar.TOOL_SELECTION_SET) {  
                         layerSelModel.setValueIsAdjusting(true);  
                         layerSelModel.clearSelection();  
474    
475                          for (Feature f : selectionResult) {                                  for (int fIdx = 0; fi.hasNext(); fIdx++) {
476                                  layerSelModel.addSelection(f.getID());                                          SimpleFeature f = fi.next();
477                          }                                          layerSelModel.addSelection(f.getID());
478                                    }
479                                    layerSelModel.setValueIsAdjusting(false);
480                            } else if (selectedTool == MapPaneToolBar.TOOL_SELECTION_SET) {
481                                    layerSelModel.setValueIsAdjusting(true);
482                                    layerSelModel.clearSelection();
483    
484                                    for (int fIdx = 0; fi.hasNext(); fIdx++) {
485                                            SimpleFeature f = fi.next();
486                                            layerSelModel.addSelection(f.getID());
487                                    }
488    
489                                    // LOGGER.debug("Setting selection to " + fi.());
490    
491                          LOGGER.debug("Setting selection to " + selectionResult.size());                                  layerSelModel.setValueIsAdjusting(false);
492                          layerSelModel.setValueIsAdjusting(false);                          } else if (selectedTool == MapPaneToolBar.TOOL_SELECTION_REMOVE) {
493                  } else if (selectedTool == MapPaneToolBar.TOOL_SELECTION_REMOVE) {                                  layerSelModel.setValueIsAdjusting(true);
494                          layerSelModel.setValueIsAdjusting(true);                                  for (int fIdx = 0; fi.hasNext(); fIdx++) {
495                          for (Feature f : selectionResult) {                                          SimpleFeature f = fi.next();
496                                  layerSelModel.removeSelection(f.getID());                                          layerSelModel.removeSelection(f.getID());
497                                    }
498                                    layerSelModel.setValueIsAdjusting(false);
499                          }                          }
500                          layerSelModel.setValueIsAdjusting(false);  
501                    } finally {
502                            selectionResult.close(fi);
503                  }                  }
504    
505                  // Show selected features in the map, which is not automatically done by                  // Show selected features in the map, which is not automatically done by

Legend:
Removed from v.162  
changed lines
  Added in v.621

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26