Hi,
I’m migrating our application to Map Suite 7.0.
The function LineShape::GetPointOnALine(StartingPoint startingPoint, float percentageOfLine)
seems to not work like it does in version 6.0.
The point obtained by GetPointOnALine is wrong, it doesn’t match with the percentage given as parameter.
I’ve joined a small project that demonstrate the problem.
The project show two points with a line joining them. In version 6.0, the line joins the two points:
In version 7.0, it doesn’t:
Regards,
P.OM
Lines_v7.zip (11.1 KB)
Wrong point obtained from Lineshape::GetPointOnALine in MapSuite 7.0
Hi Puthirak,
Thanks for your detailed information, would you please get the latest version 7.0.4.0 or 7.0.0.4 and try it again, using the newest dlls, the problem didn’t show up on our end.
Hope it helps
Summer
Hi,
I have access only to the version 7.0.3.0.
The problem is corrected in this build.
Thanks,
P.OM
Hi Puthirak,
Great to hear it helped, if you have any more question, please feel free to let us know.
Best Regards
Summer