In our application, we have a single map that has 2 layers; each layer contains only 1 type of element. The layers can function independently except that the map itself is databound to data for every element.
Since the 2 layers are independent, the map needs two scales. I've noticed that when I set the min and max for one layer's ValueScale, both layers change. Is this a bug?
Example:
statesMap.Layers[0].ValueScale.MinimumValue = 100;
statesMap.Layers[1].ValueScale.MinimumValue = 5;
MessageBox.Show(statesMap.Layers[0].ValueScale.MinimumValue.ToString());
The MessageBox will show 5.
I have submitted a bug for your issue. If you would like to know the status please contact Developer Support with bug #24915.