[mapguide-internals] RFC60 - PNG8 color
Jason.Birch at nanaimo.ca
Mon Mar 2 02:13:29 EST 2009
Although not really part of this RFC, it would be interesting if this feature could somehow be extended to dynamic 8bit map renders as well. The current implementation can be a bit off-putting at times as colours of important features shift considerably as you zoom in/out depending on image composition.
Ideally, this would be done in two ways: first, for maps that have this option enabled, the palette would be calculated the first time the map is loaded, and cached until the map definition changes or the service is restarted. In addition, a method like GetBasePalette would be added to the mapagent, which would return a palette definition which could then be saved as resource data and persisted across sessions.
More information about the mapguide-internals