Revision 5936 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/MapOverview.java
MapOverview.java | ||
---|---|---|
55 | 55 |
import java.awt.geom.Rectangle2D; |
56 | 56 |
import java.awt.image.BufferedImage; |
57 | 57 |
|
58 |
import org.cresques.cts.IProjection; |
|
59 |
|
|
58 | 60 |
import com.iver.cit.gvsig.fmap.ColorEvent; |
59 | 61 |
import com.iver.cit.gvsig.fmap.DriverException; |
60 | 62 |
import com.iver.cit.gvsig.fmap.ExtentEvent; |
61 | 63 |
import com.iver.cit.gvsig.fmap.FMap; |
62 | 64 |
import com.iver.cit.gvsig.fmap.MapControl; |
65 |
import com.iver.cit.gvsig.fmap.ProjectionEvent; |
|
63 | 66 |
import com.iver.cit.gvsig.fmap.ViewPort; |
64 | 67 |
import com.iver.cit.gvsig.fmap.ViewPortListener; |
65 | 68 |
import com.iver.cit.gvsig.fmap.tools.Behavior.Behavior; |
... | ... | |
224 | 227 |
*/ |
225 | 228 |
public void backColorChanged(ColorEvent e) { |
226 | 229 |
} |
230 |
|
|
231 |
public void projectionChanged(ProjectionEvent e) { |
|
232 |
super.setProjection(e.getNewProjection()); |
|
233 |
|
|
234 |
} |
|
235 |
|
|
236 |
public void setProjection(IProjection proj) { |
|
237 |
//No permitimos cambiar la proyeccion |
|
238 |
//ya que debe ser la misma que la del |
|
239 |
//MapControl asociado |
|
240 |
return; |
|
241 |
} |
|
227 | 242 |
} |
Also available in: Unified diff