I have set up a sample polyline from given coordinates.
coordinates = [
[52.908902047770276,-116.015625],
[52.908902047770276,-116.015625],
[53.12040528310657,-115.6640625],
[53.12040528310657,-115.6640625],
[53.33087298301704,-115.6640625],
[53.33087298301704,-115.6640625],
[53.74871079689897,-115.6640625],
[53.74871079689897,-115.6640625],
[54.36775852406841,-115.6640625],
[54.36775852406841,-115.6640625],
[54.97761367069625,-115.3125],
......]
When the polyline is clicked, the returned coordinates do not match the coordinates from which the polyline was built.
Is there a way to get all the coordinates between two points of the polyline that belong to the given list of coordinates when the polyline is clicked ?
Also when the map is zoomed, the clicked marker goes off the path off the polyline.