[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20050420: IDV - point data plot - all components recentered in plot

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20050420: IDV - point data plot - all components recentered in plot
  • Date: Thu, 21 Apr 2005 07:41:37 -0600


Hi Stu,

I looked at the GPSVectorSymbol class. First of all I am having some weird problem
with colors (which I think is my problem).


The problem of the components being recentered is my problem. I have code that takes the shapes for a symbol and moves them by some offset wrt the origin. However, I move each individual shape in the array.
Thus the recentering all problem.

A workaround for now is to overwrite the method:
   public boolean shouldOffsetShape() {
        return false;
   }

in your GPSSymbol class.  this turns off any relative repositioning.

I will try to have  a fix for this in the next release.


-Jeff