Re: [OpenLayers-Users] Value of map.getExtent() is not precise?

2008-04-29 Thread Christopher Schmidt
On Tue, Apr 29, 2008 at 06:27:21PM -0300, Pedro Simonetti Garcia wrote: > Christopher, > > Thanks for your feedback. > > So, are you saying that the value of map.getExtent() is supposed to be the > precise extent of the visible area of the map on the screen, isn't? Correct. Regards, -- Christo

Re: [OpenLayers-Users] Value of map.getExtent() is not precise?

2008-04-29 Thread Pedro Simonetti Garcia
Christopher, Thanks for your feedback. So, are you saying that the value of map.getExtent() is supposed to be the precise extent of the visible area of the map on the screen, isn't? Another thing, I'm using a non-default projection, and I'm wondering if this can somehow be related to a misconfig

Re: [OpenLayers-Users] Value of map.getExtent() is not precise?

2008-04-29 Thread Christopher Schmidt
On Tue, Apr 29, 2008 at 03:50:50PM -0300, Pedro Simonetti Garcia wrote: > Hi all, > > I need a little help here. I'm developing a printing system, but I'm > getting some > problem with the extents. > > I'm trying to print the map viewport, so I'm using the map.getExtent() and > map.getCurrentSize

Re: [OpenLayers-Users] Value of map.getExtent() is not precise?

2008-04-29 Thread Pedro Simonetti Garcia
Sorry, My free host is really bad, and the image sometimes will not download. I've uploaded those images to my googlepages: http://pedrosimonetti.googlepages.com/viewport.JPG http://pedrosimonetti.googlepages.com/print.jpg regards, Pedro Simonetti. 2008/4/29 Pedro Simonetti Garcia <[EMAIL PROT

[OpenLayers-Users] Value of map.getExtent() is not precise?

2008-04-29 Thread Pedro Simonetti Garcia
Hi all, I need a little help here. I'm developing a printing system, but I'm getting some problem with the extents. I'm trying to print the map viewport, so I'm using the map.getExtent() and map.getCurrentSize() values and passing it to the server, which calls the mapserver and generates the imag