Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] ViewportModelImpl setCRS bug

Thanks emily
On 24-Oct-08, at 7:54 PM, Emily Gouge wrote:

I was using a ViewportModelListener and was having a problem getting the new CRS when the CRS was changed. I tracked this down to the following line in ViewportModelImpl.java

notifyListeners(new ViewportModelEvent(this, EventType.CRS, oldCRS, newCRS));

The order of the oldCRS and newCRS is incorrect. As a results I have updated it to:

notifyListeners(new ViewportModelEvent(this, EventType.CRS, newCRS, oldCRS));

Emily
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top