On 20 June 2012 07:40, ChenFred <[email protected]> wrote:
> Thank you Michael for your suggestion. That is correct. an Overview docking
> inside the MainView is definitely what we want.  I think a pair of linked
> MapViewports might be the way to go. I will dig into it.
>
> Fred
>

Fred, Jody,

Let's keep this thread on the dev list for the moment rather than
moving it to the user list.

Your use case sounds very much like the linked viewers mechanism that
I used to use in Erdas Imagine (in a previous lifetime). From memory
(this was many moons ago) the overview pane always displayed the full
data extent with a rectangle superimposed to show the bounds of the
linked primary viewer. Zooming or panning could be done in the primary
viewer or by dragging / resizing the rectangle in the linked viewer.

Ah - there is this long neglected Jira issue for just this feature:

http://jira.codehaus.org/browse/GEOT-3106

If you have to do implement this, or something like it, for gt-swt I
would really like to also get it working in gt-swing by building it
around shared interface(s) and, if appropriate, putting common
functionality into MapViewport or a sub-class of it (gt-render
module). However, if you have a very tight deadline then the gt-swing
and gt-render components could be extracted later from an initial
swt-only solution.

I'm copying this to Andrea Antonello who is the GeoTools swt-meister.

Michael

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to