I need to calculate the nearest route but using my own streets map. Is it possible?
Thank you!
1 Answer, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 07 Aug 2025, 08:36 AM
Hello IT SSA,
I appreciate your interest in our RadMap control for WinForms.
Currently, RadMap for WinForms does not support routing calculations using your own custom street map or street file. The routing feature is designed to work with external routing services like Bing Maps and cannot generate routes based on user-provided map data or custom street networks.
Keep in mind that Bing Maps will be deprecated as of June 30, 2025, and the map service has transitioned to Azure Map. Azure Map offers its own routing system. Our GitHub repository includes the RadMap Custom Azure Provider Demo SDK, which demonstrates how to create a custom provider to connect to the Azure Map tile service. It also shows how to utilize the search API. Currently, it does not demonstrate how you can use the routing service. The custom provider will also need to implement the IMapRouteProvider interface. In the CalculateRouteAsync() method, you will need to create custom code that connects to the service and structures the input.
For a demo, you could check the Implement Routing Functionality with the Azure Maps Services KB article. The approach is designed for WPF, but I think that you could use the code and modify it per your requirement. It will be a good starting point.
Regards,
Dinko | Tech Support Engineer
Progress Telerik