Pitney Bowes MapXtreme User Manual

Page 463

Advertising
background image

Appendix A: How to Create and Deploy a MapXtreme Application

Building a Web Application

MapXtreme v7.1

470

Developer Guide

3. Choose Debug>Start Debugging (or press F5) to build and run the Web application. Once the

page is displayed in the browser, select DotDensityTheme theme, and then check Pop_1994.

The color of the dots on the map is now dark green.

Now let’s make one more simple change to the Web sample. This change is to the Range
Theme.

4. Make the following changes:

Under the ThemeAndModifierTypes.RangedTheme case statement, go to line 276 and
change the bin count parameter from 5 to 8.
This will change the number of data bins for the theme.

On the same line, line 276, change the bin distribution method from EqualCountPerRange to
NaturalBreak.

This will change the way that the data is divided in data bins.

5. Choose Debug>Start Debugging (or press F5) to build and run the Web application with these

new changes. Once the page is displayed, select RangedTheme, and then check Pop_1994.

Advertising