Good Morning,
I am using GetShortestLineTo() to draw a line between two points on an InMemoryFeatureLayer and it is working perfectly except in one scenario.
When the user leaves the form(with the mapControl) and then returns and moves a point the line is not redrawing itself unless the user then clicks on the point. Any suggestions??
Thank you in advance
Line not redrawing properly
Hi Cheryle,
It looks you implement your function on some event like mousemove.
I think that’s should caused by the event haven’t been fired after you move mouse out of program form and move mouse back. So I think you should want to use some more event like mouseenter or mouseleave to let the function start working again.
If you want get more suggestion about our API, please upload a simple sample which can reproduce that.
Regards,
Don