Samosir has a wide area and several tourist attractions, making it difficult for visitors to explore the island. Not knowing the route can make the journey less fun and waste time. In general, tourists seek to know the fastest path to a tourist location to save time and money while on vacation. As a result, we require an application that will offer directions to the shortest path. This research aims to develop a web-based application that may display a map of the shortest travel to a tourist site. This website will display a map that marks from the origin point to the destination point. The Branch and Bound algorithm is used to determine the shortest path. The Python libraries OSMnx, Folium, and NetworkX modify paths and show a route map with OpenStreetMap. The error value of the distance between the branch, bound algorithm, and Google Maps is used to get the RMSE accuracy value. The RMSE value is 3.02 and MAPE value is 0.0023 indicating that the application produced already has a good implementation prototype. Furthermore, there is no significant distinction between the appearance of maps implementing OpenStreetMap and Google Maps