Re: [OpenLayers-Users] CloudAmber drop shadow

2008-04-30 Thread Pedro Simonetti Garcia
Erik, Yeah that will be great! This is a cool feature, I will love seeing it in a future release! regards, Pedro Simonetti. 2008/4/30 Fred warnock [EMAIL PROTECTED]: Erik, It was always our intention to submit this back to the community in the way you have described. I just wanted to

[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

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

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

2008-04-29 Thread Pedro Simonetti Garcia
in advance, Pedro Simonetti. 2008/4/29 Christopher Schmidt [EMAIL PROTECTED]: 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

[OpenLayers-Users] Calculate the scale of the map in a printing size

2008-04-21 Thread Pedro Simonetti Garcia
Hi everybody, I'm not sure if this mailing is the right place to ask, so If this is the not the right one, please point me a proper list to do it. I'm developing a printing system in PHP Mapscript, and I'm dealing with the well known symbols and fonts size after resizing the map problem. I've

Re: [OpenLayers-Users] Strange behaviour after panning

2008-04-09 Thread Pedro Simonetti Garcia
After some investigations, I found how to fix it. I've changed the piece of the code where it calculates the coordinates, from: var lonlat = map.getLonLatFromLayerPx(evt.xy); To: var lonlat = map.getLonLatFromViewPortPx(evt.xy); Now it works fine. I'm just

Re: [OpenLayers-Users] Strange behaviour after panning

2008-04-09 Thread Pedro Simonetti Garcia
In any case: We providedd getLonLatFromPixel as the main 'API' property so that people wouldn't have to use a funky-named property: it's a wrapper around getLonLatFromViewPortPx. Just a suggestion. Considering that the getLonLatFromPixel is a wrapper around