AnsweredAssumed Answered

AnalysisOverlay visibility issue

Question asked by anat@skysoftsl.com on Apr 15, 2018
Latest reply on Apr 16, 2018 by LDanzinger-esristaff

I have a problem with the AnalysisOverlay visibilty.

My AnalysisOverlay contains a LocationLineOfSight.

There's an option in the UI to hide the different layers, and in case the LOS should be hidden, I call 

m_analysisOverlay->setVisible(false);
While the overlay's visibility is still false, I am updating the LOS target point in the background.

It looks like this call:

m_pLineOfSight->setTargetLocation(targetPoint), makes the LOS visible again, although its overlay is still invisible.
My meantime workaround is that right after setting the new target location, I set the visibility to true and then to false again.
Setting only false wasn't enough...
Is this a known issue, or am I missing anything??

Thanks!

Outcomes