On Fri, Apr 20, 2012 at 10:53 PM, Michael Bedward <[email protected]
> wrote:

> Thanks Andrea for decoding my bad explanation !
>
> Ian's query makes me realize that the aspect ratio behaviour of
> MapViewport needs to be highlighted in the docs because it is not
> obvious at the moment.
>
>
Michael, I'm wondering, are the GUI components default to enforcing
the natural aspect ratio?

I also considered just switching the default the other way, for GeoServer
it would be like 5-10 lines of code sprinkled around to get the desired
behavior back... but it would also be a backwards incompatible change
that might throw off other existing users besides just GeoServer.

Another random idea might be to have the defaul be driven by a system
Hint, so that the default can be flipped for the whole application with
a single line of code

Anyways... just ranting

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to