draw smooth curve lines between locations in radmap

1 Answer 86 Views
Map
Mahendran
Top achievements
Rank 1
Mahendran asked on 19 Jul 2022, 06:56 AM
is it possible to select two locations which is displaying on the radmap and draw a curve line. initially a simple straight line needs to be drawn and then user can select the line between the locations and change it to a curve by dragging the line. Currently we achieved placing the marker on the radmap.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 20 Jul 2022, 03:18 PM

Hi Mahendran,

I have prepared a sample approach and you can check it in the attached file. It uses VisualizationLayer, LineData and PathData shape objects. Basically the solution is based on the approach demonstrated in this old blog post, but the proffered approach is VisualizaitonLayer. I hope you will be able to modify it for future needs and I also hope it can be useful to other clients here. Also note, this is only a proof of concept project, so I expect it to have bugs that needs to be addressed but the idea is to show a possible starting point for a solution. Thank you for the understanding.

Regards,
Petar Mladenov
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Tags
Map
Asked by
Mahendran
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or