Revision 944 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/View.java
View.java | ||
---|---|---|
103 | 103 |
m_MapControl.setMapContext(fmap); |
104 | 104 |
m_TOC.setMapContext(fmap); |
105 | 105 |
m_MapControl.setBackground(new Color(255, 255, 255)); |
106 |
m_MapLoc.setModel(modelo.getMapOverViewContext()); |
|
106 |
if (modelo.getMapOverViewContext()!=null){ |
|
107 |
m_MapLoc.setModel(modelo.getMapOverViewContext()); |
|
108 |
} |
|
107 | 109 |
model.addPropertyChangeListener(new PropertyChangeListener() { |
108 | 110 |
public void propertyChange(PropertyChangeEvent evt) { |
109 | 111 |
if (evt.getPropertyName().equals("name")){ |
Also available in: Unified diff