[Users] WMSCapabilitiesLoader: problems with reprojection

Andrés Maneiro amaneiro at icarto.es
Tue Mar 22 13:42:28 CET 2011


Hi people,

I'm having troubles to make work WMSCapabilitiesLoader with a TreePanel. 
The TreePanel gets populated with the layers and the layers are rendered 
when I click on the button.

My problem is that first time they get rendered on the map, layers are 
not in their "place", but a bit north-east displaced. See image:
http://img138.imageshack.us/i/movement.png/

After refreshing the map (move it or so...) they are rendered in the 
correct place.

The code I'm playing with: http://pastebin.com/w1SPngeC

Any idea why this happens?

best,
amaneiro


More information about the Users mailing list