On 17/11/10 12:40, [email protected] wrote:

What exactly do you expect to happen when you provide completely unreasonable 
values to
reproject? :p Mercator projections go to infinity when you go to +90/-90, so 
there is no
actual reasonable thing to return in this case; the current behavior is 
certainly not
ideal, but the other option seems to me to be "throw an exception".

(This is why the mercator max bounds are at ~+/-85 degrees in the spherical 
mercator
tile bounds.)

Would it be an option to have OL automagically limit the bounds to something like +89.999 and -89.999 (and provide a warning in the console)? Or would this create more problems than solving them?

Regards, Roald

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to