Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Layers With Different Scales?
posted

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.