diff options
Diffstat (limited to 'chimere/static/edit_area.js')
| -rw-r--r-- | chimere/static/edit_area.js | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/static/edit_area.js b/chimere/static/edit_area.js index 4daccf3..7695e6b 100644 --- a/chimere/static/edit_area.js +++ b/chimere/static/edit_area.js @@ -22,7 +22,8 @@ var map;  /* update form fields on zoom action */  function updateForm(){ -    var bounds = map.getExtent(); +    var bounds = map.getExtent().transform(epsg_projection, +                                           epsg_display_projection);      document.getElementById('upper_left_lat').value = bounds.top;      document.getElementById('upper_left_lon').value = bounds.left;      document.getElementById('lower_right_lat').value = bounds.bottom;  | 
