Pitney Bowes MapXtreme User Manual
Page 453

Appendix A: How to Create and Deploy a MapXtreme Application
Building a Desktop Application
MapXtreme v7.1
460
Developer Guide
7. We’ll increase the number of ranges, or bins, in the theme. On line 221 change the number of
bins from 5 to 8. (A bin is a range consisting of a maximum and minimum value and is used by
themes to group together like values for the purpose of shading.)
8. Next, we’ll change the distribution method of the ranges. The distribution method indicates how
the ranges are calculated. On line 221, change EqualCountPerRange to EqualRangeSize.
In the EqualRangeSize distribution method, each range has an equal number of values.
9. The image below highlights the code changes with a red box.
10. Choose Debug > Start Debugging (or press F5) to build and run the modified application.
Notice that the number of theme bins has increased and the distribution method has changed.
Close the Form1 window when you are finished.