Hello all, I've added the facility to rotate a map displayed in a JMapPane (in the 'swing-refactor' branch code) and now I'm wondering what is the most useful thing for JMapPane.getDisplayArea() to return when a non-zero rotation is applied ?
I see the docs for the RendererUtilities.createMapEnvelope method include this statement: "The affine transform may specify an rotation, in case the envelope will encompass the complete (rotated) world polygon" But take this example of a square polygon rotated clockwise 30 degrees... http://imagebin.org/96422 The expertly drawn blue lines mark the (rotated) world envelope of the display area, only half of which is within the pane's bounds. Returning that envelope doesn't seem very useful. I'd appreciate any ideas. cheers Michael ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
