Combe, Colin wrote:

Hi

I found the method setAreaOfInterest at the mapContext, but this requires an envelope.
Not only that I'm not really sure of what an envelope is, I also don't

know how to change the area to be displayed at the envelope. There are

no such things as setter methods or similar.
Is the envelope like a folder, that contains all the layers of a map? If yes, how do I tell the folder to only grab my AreaOfInterest?

'envelope' basically means rectangle - an envelope is constructed from
two coordinates, representing diagonally opposite corners of the
rectangle. This is why setAreaOfInterest has an envelope as it's
parameter,
hope that helps,
colin


so an envelope is nothing more than a rectangle? the preferred area could be set using a Rectangle2D typecasted to an envelope?


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to