[OpenMap Users] resize mapbean (and keep extents)

From: Ben Podoll <benjamin.podoll_at_und.edu>
Date: Mon, 2 Aug 2004 18:07:34 -0500


I have an application that takes my BasicMapPanel and swaps it from one
JPanel on the GUI to another. One is the main view (big) and the other is
the reference view (small).

My problem is that: I want it to keep the same extents (or as close as
possible when it switches from panel to panel) and they are never the same
size because the frame it resides in can be pulled horizontally and
vertically by the user.

So I am hoping there is a way to do this by possibly zooming out a bit when
it goes to the smaller Panel and zooming back in when it goes back to the
larger one?

Any ideas?


[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 02 2004 - 19:08:46 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT