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.
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