Revision 35625 branches/dal_time_support/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/FLayers.java

View differences:

FLayers.java
883 883

  
884 884
    public DynObjectSet getInfo(Point p, double tolerance,
885 885
			Cancellable cancel) throws LoadLayerException, DataException {
886
        return this.getInfo(p, tolerance, cancel, true);
886
    	return getInfo(this.getMapContext().getViewPort().convertToMapPoint(p), tolerance);
887 887
    }
888 888

  
889 889
    public DynObjectSet getInfo(Point p, double tolerance, Cancellable cancel,
890 890
        boolean fast) throws LoadLayerException, DataException {
891
    	return getInfo(this.getMapContext().getViewPort().convertToMapPoint(p), tolerance);
892
    }
893
    
894
    public DynObjectSet getInfo(org.gvsig.fmap.geom.primitive.Point p,
895
    		double tolerance) throws LoadLayerException, DataException {
891 896
        int i;
892 897
        FLayer layer;
893 898
        List res = new ArrayList();
......
895 900
            layer = (FLayer) layers.get(i);
896 901
            if (layer instanceof InfoByPoint) {
897 902
                InfoByPoint queryable_layer = (InfoByPoint) layer;
898
                res.add(queryable_layer.getInfo(p, tolerance, null, fast));
903
                res.add(queryable_layer.getInfo(p, tolerance));
899 904
            }
900 905
        }
901 906
        DynObjectSet[] innerSets =
902 907
            (DynObjectSet[]) res.toArray(new DynObjectSet[res.size()]);
903 908
        return new MultiDynObjectSet(innerSets);
904 909
    }
905

  
910
    
906 911
	/*
907 912
	 * (non-Javadoc)
908 913
	 * @see com.iver.cit.gvsig.fmap.layers.FLyrDefault#getTocImageIcon()

Also available in: Unified diff