set range outside invisible

Hi VisAD community,

I am using SpreadSheet as some of you will know, and am faced with a slight problem. I have the following mapping: (latitude,longitude)->(temperature)

I am trying to extend the spreadsheet class so that the user can select a location to zoom into, for instance a map of Europe is shown and if user selects South England it will zoom into that particular location. My question is two fold, firstly what method actually sets the range. I have checked GMCWidget and other widgets such as ContourWidget but not found what I want. Maybe I have overlooked I am not sure.

Secondly I would like to know if there is a way to make sure what is outside the range is invisible. I have imported the Europe map and have used the widget that automatically pops up in SpreadSheet to changed the range for Xaxis and Yaxis so that it seems to be zooming into a particular location. However if I do this I get the a map which covers not just the range but outside it too. I have read the VisAD tutorial in section 2.5 and it asks me to select ScalarMap with SelectRange as DisplayRealType then it should solve my problem. But I don?t know how to make use of this in SpreadSheet.

I would like to thank Curtis for his help from my last query.

Cheers,

Jacky

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: