How do you draw a linestring on map component when list of coordinates is available?

How to draw a linstring (route) on a map component when a list of coordinates is available?

use the set LineString.Points block

Thanks for the prompt reply.
Already Done.Hardcoded 3 coordinates of linestring. But the line not appear.

If you have a LineString on your Map and create the List properly, you get something like this by double tapping the Map at the points you want to include. Currently you make a tempList of strings, the LineString.Points requires a List of pairs.


Greetings & Thanks Steve!
The line is being drawn now .
I hope I will be able to solve my problem.


1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.