This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
map_suite_routing_quick_start_guide [2015/09/17 03:15] admin [Map Suite Routing Extension Hello World] |
map_suite_routing_quick_start_guide [2017/03/17 05:12] (current) tgwikiupdate |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Map Suite Routing Quick Start Guide ====== | ====== Map Suite Routing Quick Start Guide ====== | ||
| + | |||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| <div msgbox> | <div msgbox> | ||
| Line 21: | Line 23: | ||
| ===== Download Routing Explorer ===== | ===== Download Routing Explorer ===== | ||
| - | <faicon fa fa-download fa-lg> {{:File:MapSuite Routing Explorer.zip|Download Routing Explorer}} //(1.95 MB)// | + | <faicon fa fa-download fa-lg> {{filehistory:MapSuite Routing Explorer.zip|Download Routing Explorer}} //(1.95 MB)// |
| ===== Download the Sample ===== | ===== Download the Sample ===== | ||
| - | <faicon fa fa-download fa-lg> {{:File:HelloWorld Routing.zip|Download Sample Code From This Exercise}} //(1.76 MB)// | + | <faicon fa fa-download fa-lg> {{https://github.com/ThinkGeo/RoutingSample-ForWinForms|Download Sample Code From GitHub}} |
| ===== Setting up the Environment ===== | ===== Setting up the Environment ===== | ||
| Line 51: | Line 53: | ||
| **3.** You should now have the Map control available in your Toolbox as shown below. | **3.** You should now have the Map control available in your Toolbox as shown below. | ||
| - | {{routing:QSG_Routing_Img04.png|Figure 2. The Map Controls under the Toolbox window.}} | + | {{routing:QSG_Routing_Img04.png}} |
| + | \\ | ||
| + | \\Figure 2. The Map Controls under the Toolbox window.\\ | ||
| Draw the Map control on the form by clicking on the Map control in the Toolbox and then dragging the map onto the form. You can also size the map to your desired width and height. You can leave the name of Map control as winformMap1. | Draw the Map control on the form by clicking on the Map control in the Toolbox and then dragging the map onto the form. You can also size the map to your desired width and height. You can leave the name of Map control as winformMap1. | ||
| Line 84: | Line 88: | ||
| // Figure 4. Building the routing index file with Map Suite Routing Explorer. // | // Figure 4. Building the routing index file with Map Suite Routing Explorer. // | ||
| - | (**NOTE:** The data used in this sample can be found in the attached sample project's //App_Data// folder. Please download the {{:File:MapSuite Routing Explorer.zip|Map Suite Routing Explorer}} tool to acquire it.) | + | (**NOTE:** The data used in this sample can be found in the attached sample project's //App_Data// folder. Please download the {{filehistory:MapSuite Routing Explorer.zip|Map Suite Routing Explorer}} tool to acquire it.) |
| ==== Map Suite Routing Extension "Hello World" ==== | ==== Map Suite Routing Extension "Hello World" ==== | ||
| Line 294: | Line 298: | ||
| Let's run the application and click the "Find The Shortest Path" button. You will see the path and stops rendered on the map as shown in Figure 6. | Let's run the application and click the "Find The Shortest Path" button. You will see the path and stops rendered on the map as shown in Figure 6. | ||
| - | {{Figure|QSG_Routing_Img10.jpg|Figure 6. Finding path with intermediate stops.}} | + | {{routing:QSG_Routing_Img10.jpg}} |
| + | \\ | ||
| + | // Figure 6. Finding path with intermediate stops.// | ||
| (**NOTE:** The Map Suite Routing Extension doesn't support finding a path between Matrix points (Points-to-Points Route), so the intermediate stops must be added in order.) | (**NOTE:** The Map Suite Routing Extension doesn't support finding a path between Matrix points (Points-to-Points Route), so the intermediate stops must be added in order.) | ||
| Line 305: | Line 311: | ||
| -The ''RoutingLayer'' is a convenient class for finding and rendering a route. It allows us to add sequential intermediate stops. | -The ''RoutingLayer'' is a convenient class for finding and rendering a route. It allows us to add sequential intermediate stops. | ||
| - | <faicon fa fa-download fa-lg> {{:File:HelloWorld Routing.zip|Download Sample Code From This Exercise}} //(1.76 MB)// | + | <faicon fa fa-download fa-lg> {{filehistory:HelloWorld Routing.zip|Download Sample Code From This Exercise}} //(1.76 MB)// |