Along the route performance issues

Balasaheb Molawade 136 Reputation points
2025-01-27T12:32:26.96+00:00

Hi,

We are currently using Bing Maps to plot routes and identify records along the route. To achieve this, we are utilizing the following method:

Microsoft.Maps.SpatialMath.Geometry.buffer(routePath, parseFloat(alongRouteDist), alongRouteDistUnit);

While this approach works well for shorter routes and fewer records, we encounter performance issues when the route is long or the number of records is large. In such cases, the browser becomes sluggish and occasionally hangs altogether.

Is there an efficient solution or optimization technique to address this issue?

Thanks

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
779 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.