Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2.83 KB

readme.md

File metadata and controls

40 lines (26 loc) · 2.83 KB

WinForms Maps - Use the Azure Maps Route Service to Calculate Routes between GeoPoints on a Map Surface

This example calculates a route based on two or more RouteWaypoint objects.

NOTE: To incorporate this solution within your DevExpress-powered app, you need an Azure Maps service key. Replace the AzureKey property value with your subscription key to connect to Azure Maps.

Implementation Details

Right-click on a map surface to specify waypoints: origin, destination, and points in between. ListBox entries display geographical points (GeoPoint.Longitude and GeoPoint.Latitude). The “Calculate Route” button initiates the routing request by obtaining waypoint information and passing it to the CalculateRoute method. ComboBoxEdit and CheckedListBox editors specify route options (AzureRouteOptions.AvoidTypes and AzureRouteOptions.TravelMode properties).

Output:

Map

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)