Graphics Programs Reference
In-Depth Information
As shown in Figure 8-43, the map is all gray, which can be useful to high-
light the data that you plan to overlay on top of the map. The map serves
as background instead of battling for attention.
FIGurE 8-43 Grayscale map after applying filter
You can also invert the colors with a color transform.
map.grid.transform.colorTransform =
new ColorTransform(-1,-1,-1,1,255,255,255,0);
This turns white to black and black to white, as shown in Figure 8-44.
FIGurE 8-44 Black and white map after inverting colors with transform
Search WWH ::




Custom Search