Topic: Route Drawing makes the app very slow

I'm using google directions API to find a route and the draw it using the demo script provided. The problem is if the distance between 2 points is long, the whole app becomes very slow to interact. Clicking or moving around the screen takes 1-2 seconds to take effect. What is the possible way to optimize this? I'm using 3D tileset control. Tried both overlay and meshes drawing but the result is same.

Re: Route Drawing makes the app very slow

Hi.

Unfortunately, Drawing API in Online Maps v3 has some fundamental issues and cannot be optimized.
You can use some other way to draw lines, or wait for v4.

In Online Maps v4, I have very deeply reworked Drawing API and it will work MUCH faster.
I plan to start beta testing v4 for v3 users next week (December 23-27).
The release is scheduled for late January next year.

Note: Unfortunately, v4 will not be compatible with v3, and will require some modifications to custom scripts.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.