Revision 43141 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/layers/FLyrDefault.java

View differences:

FLyrDefault.java
27 27
import java.awt.geom.Point2D;
28 28
import java.net.URI;
29 29
import java.util.HashSet;
30
import java.util.Iterator;
31 30
import java.util.List;
32 31
import java.util.Map;
33 32
import java.util.Set;
......
793 792
	 * (non-Javadoc)
794 793
	 * @see com.iver.cit.gvsig.fmap.layers.FLayer#getInfoString()
795 794
	 */
795
        @Override
796 796
	public String getInfoString() {
797
		return null;
797
            Envelope env = null;
798
            try {
799
                env = this.getFullEnvelope();
800
            } catch (ReadException ex) {
801
            }
802
            
803
            LayerInformationBuilder builder = MapContextLocator.getMapContextManager().createLayerInformationBuilder();
804

  
805
            builder.title().labelkey("_Coordenadas_geograficas");
806
            builder.envelope().value(env);
807

  
808
            builder.title().labelkey("_Projection");
809
            builder.property().value(this.getProjection());
810
            builder.text().asWKT(this.getProjection());
811

  
812
            return builder.toString();
798 813
	}
814
        
799 815
	/*
800 816
	 * (non-Javadoc)
801 817
	 * @see com.iver.cit.gvsig.fmap.layers.FLayer#isWritable()

Also available in: Unified diff