Bing maps in Angular (bingmaps@2.0.3)

%3CLINGO-SUB%20id%3D%22lingo-sub-2425673%22%20slang%3D%22en-US%22%3EBing%20maps%20in%20Angular%20(bingmaps%402.0.3)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2425673%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CDIV%3EGood%20morning!%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EI%20have%20a%20question%20for%20Bing%20Maps%20and%20the%20angular%20package%20of%20bingmaps%402.0.3%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EWe%20are%20using%20the%20bingmaps%402.0.3%20package%20to%20display%20several%20tour%20stops%20on%20a%20map.%3CBR%20%2F%3EOf%20course%2C%20we%20want%20to%20display%20the%20best%20route%20for%20the%20driver.%20But%20we%20have%20a%20problem%20with%20the%20REST%20API%20and%20the%20package.%3CBR%20%2F%3EThe%20package%20calls%20the%20REST%20Service%20several%20times%20(background-call)%20and%20when%20there%20are%20over%2025%20waypoints%20in%20our%20route%2C%20the%20map%20crashes.%20I%20know%2C%20that%20the%20REST%20API%20v1%2FRoutes%20Request%20can't%20specify%20more%20than%2025%20waypoints%20in%20a%20route.%20(%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fbingmaps%2Frest-services%2Froutes%2Fcalculate-a-route%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fbingmaps%2Frest-services%2Froutes%2Fcalculate-a-route%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fbingmaps%2Frest-services%2Froutes%2Fcalculate-a-route%3C%2FA%3E).%20We%20want%20to%20split%20our%20big%20request%20in%20several%20small%20requests%20and%20take%20them%20together%20in%20the%20end.%3C%2FDIV%3E%3CDIV%3EBack%20to%20my%20question%3A%3CBR%20%2F%3EIs%20there%20a%20way%20to%20call%20the%20REST%20API%20in%20another%20way%20or%20to%20deactivate%20the%20automatic%20call%20of%20the%20bingmaps%402.0.3%20map%3F%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EThank%20you%20in%20advance!%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
Good morning!
 
I have a question for Bing Maps and the angular package of bingmaps@2.0.3
 
We are using the bingmaps@2.0.3 package to display several tour stops on a map.
Of course, we want to display the best route for the driver. But we have a problem with the REST API and the package.
The package calls the REST Service several times (background-call) and when there are over 25 waypoints in our route, the map crashes. I know, that the REST API v1/Routes Request can't specify more than 25 waypoints in a route. (https://docs.microsoft.com/en-us/bingmaps/rest-services/routes/calculate-a-route). We want to split our big request in several small requests and take them together in the end.
Back to my question:
Is there a way to call the REST API in another way or to deactivate the automatic call of the bingmaps@2.0.3 map?
 
Thank you in advance!
0 Replies