we are using maps from TMS. We have implemented Google maps, which works fine. There is built in function AddDirections to calculate route between locations.
We would like to implement this funcionality for our second option - OpenLayers, with custom maps service, mapy.cz (Czech maps). They have API and it looks like it could be possible, but I dont know how to do it.
Unfortunately the mapy.cz API is currently not supported in TMS FNC Maps.
However, this is a good suggestion and we'll investigate if support for the mapy.cz service can be added in a future version.
Alternatively, you can use the TTMSFNCDirections component to calculate routes with various services (Google Routes, Here, Azure, MapBox, OpenRouteService, GeoApify) and display them on a TTMSFNCOpenLayers map.
Further info can be found in the online documentation: