> When I thought about this, I have a question that may not
> necessarily related to solving the above problem. I find there is
> Display.addMap(ScalarMap) but not a removeMap(ScalarMap). So
> how to replace an existing ScalarMap that has been added
> to a display?
Call DisplayImpl.clearMaps() to remove all the ScalarMaps.