I am trying to plot a route from a json string from server. The json string consists of all the points that comprises of the route geometry.
How can I do this? I am able to parse json to get all the points, but how do i plot it in the map? Any help is much appreciated
geometry: {
paths:
[
[INDENT][
[
6156798.546399999,
2909067.884300001],
[
6156799.397500001,
2909012.359099999
],
[
6156798.2842999995,
2908975.429200001
],
[
6156799.397500001,
2908915.1105000004
],
[
6156807.189800002,
2908857.2540000007
]
]
[/INDENT]
]
}