Hi Jody, Just looked for you on IRC.
I found the problem with CRSLab. The old event handling set a bit flag MapBoundsEvent.COORDINATE_SYSTEM_MASK and JMapPane checkes for that. The new event handling in the MapViewport class always sets the event as MapBoundsEvent.Type.BOUNDS. I guess this means the example has been broken for some time. It's odd that we haven't had any complaints on the user list. For the moment I could just take out the check for that flag in the JMapPane code. Michael On 4 May 2011 20:17, Michael Bedward <[email protected]> wrote: > Your fuzzy memory beats my blank one. I'll have a quick go with the > debugger and try to work out what is (not) happening. > > Michael > > On 4 May 2011 19:35, Jody Garnett <[email protected]> wrote: >> I cannot remember exactly when we introduced Layer; I thought this was done >> specifically before the last workshop >> (so I would not worry about teaching people all the magical methods for >> MapLayer). >> thinking... >> I do remember putting in a lot of additional effort to get the wms example >> to work; sorry the details are fuzzy :-) >> I am around on IRC on and off (or on chat) if you want a second pair of eyes >> on the problem. >> -- >> Jody Garnett >> >> On Wednesday, 4 May 2011 at 7:28 PM, Michael Bedward wrote: >> >> Hi Jody, >> >> I've been testing some stop-gap changes to JMapPane (as per >> http://jira.codehaus.org/browse/GEOT-3560) before committing them. >> Some of the example applications weren't working properly and I >> assumed my changes had broken them. However, when I revert my local >> changes the example are still broken. I haven't tested them all yet >> but here are two: >> >> - In CRSLab, the display no longer updates when the projection is changed. >> - In SelectionLab, the display does not update to reflect the change >> in the layer's style. >> >> This might be due to the event handling not being hooked up with the >> new Layer classes. However, before investigating I wanted to ask you >> if you have used the example programs for workshops etc since the new >> Layer classes were added and, if so, whether you had any problems ? >> >> Michael >> >> > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
