Revision 1201 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/MapOverview.java

View differences:

MapOverview.java
156 156
	 */
157 157
	public void setModel(FMap model) {
158 158
		this.setMapContext(model);
159
		m_MapAssoc.getMapContext().getViewPort().addExtentListener(this);
160
		getMapContext().getViewPort().addExtentListener(this);
159
		m_MapAssoc.getMapContext().getViewPort().addViewPortListener(this);
160
		getMapContext().getViewPort().addViewPortListener(this);
161 161
	}
162 162

  
163 163
	/**

Also available in: Unified diff