You need to log in before you can comment on or make changes to this bug.
Using the JSAPI widget, the extent is lost when submitting, if you have used any of the navigation tools. I can't see any logic about how it is lost. I have tried forcing the form extent variables to be set to the javascript extent variables, just before the page is submitted in updatemap.widget.php. Using javascript alerts, I can see that my form extent variables before submitting were correct (minx, miny, etc.). What can cause the extent to be changed, if the submitted extent is correct? Is the map not re-loaded correctly? Jacob
This bug is caused by the scale widget not working correctly, as pointed out by Bart. The incorrect value for the scale variable in the cwcjsapi causes the extent to be changed on submitting. Not having the scale widget on the page makes this problem disappear (have tested this).
Jacob, are you able to test this one again with the fix for bug 1030? The change was in UpdateMap.php. Are you able to get the latest from CVS? http://chameleon.maptools.org/bugzilla/show_bug.cgi?id=1030 Bart
Adding myself to the cc.
Works well now (using the JSAPI sample). I'm glad this is fixed. It made it impossible to deploy a site using the CWCJSAPI.
Setting dependency to bug 1030 and resolving bug (FIXED).