Loading the Roads into the Map
In this section, you will see how to choose a renderer and how to use the scale filters.
You are going to load, for example, the Rdline.shp file that contains the roads into the same buffer as you used in the previous section.
1. Choose Insert Map File from the File menu.
Do not choose Load file because that creates a new buffer.
2. Browse to <shapedir> and open, for example, the Rdline.shp file.
3. On the Rendering page in the Parameters window, change the line color so that the roads appear red in the map.
There are three rendering parameters that can be changed: the Fill color of objects, the Line color, and the marker symbol. When loading a map, only the applicable parameters can be changed. In this case, only the line rendering style can be changed.
4. Set the Source Projection to Geographic.
5. Leave the default map adapter.
6. Clear the Attach attributes check box.
7. On the Scale control page, set the Small scale limit to 1/5,000,000. This makes the roads visible when the user chooses a scale greater than 1/5,000,000 (for example, 1/2,500,000).
8. Click OK.
To test your work:
1. Click the Fit-to-content icon
to display the entire map.
2. Zoom in the map to see that the roads appear when the scale is greater than 1/5,000,000.
Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.