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!
This sounds like a bug. Can you please log a bug with Esri Support/your distributor?