1

After adding the polylines to the map, sometime it shows up with wired phenomena. Just like the line has been deformed and rotated. While zooming the map, the lines are shaking.

I recorded a video:

https://drive.google.com/file/d/14mY16pv7f2glIc9OIuFVSG7DthGX4Kr9/view

I don't know where it goes wrong because most of the time, the result is OK. I do add the lines on the main thread.

Son Truong
  • 13,661
  • 5
  • 32
  • 58
Mr. Crow
  • 21
  • 2
  • 6
  • I don't know where the `geodesic` property is related, I set it to true – Mr. Crow Sep 16 '18 at 16:14
  • Did you find solution for this? I am facing same issue – Pooja Shah Sep 21 '18 at 09:59
  • @PoojaShah forgot to update here, I was using `GKGraphy` to calculate a shortest path from one coordinate to another. When this phenomenon appears, I find out that I forgot to set starting point and it using `{0,0}` coordinate as the starting point, then result node array apparently contains a `{0,0}` coordinate, this point will broke the projection when you add it to `GMSPolyline`s. Thats what I found, wish it could help – Mr. Crow Sep 23 '18 at 01:45

1 Answers1

0

Finally found out that was my mistake, using {0,0} as the starting point for shortest path finding, close this issue by myself

Mr. Crow
  • 21
  • 2
  • 6