Revision 41041
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/MapOverview.java | ||
---|---|---|
200 | 200 |
getGrid().setAdjustGrid(false); |
201 | 201 |
super.paintComponent(g); |
202 | 202 |
|
203 |
if ((m_MapAssoc.getMapContext().getViewPort().getEnvelope() != null) && |
|
204 |
(getMapContext().getViewPort().getEnvelope() != null)) { |
|
203 |
if (m_MapAssoc.getMapContext().getViewPort().getEnvelope() != null && |
|
204 |
getMapContext().getViewPort().getEnvelope() != null && |
|
205 |
getMapContext().getLayers().getLayersCount() > 0) { |
|
206 |
|
|
205 | 207 |
if (first) { |
206 | 208 |
first = false; |
207 | 209 |
repaint(); |
Also available in: Unified diff