i’m trying to make an annotation not visible. According to the API documentation this can be done by using the property “hidden”. There is getter and a setter, then I think I should be able to set this property.
Unfortunatelly there is no way to make it work.
The same piece of code is working for a widget, but it does not worl for an annotation.
This code below works.
But something troubles me…
If the annotation is a widget, then I write “hidden” with lower case.
If the annotation is not a widget, then I write “Hiden” in uppercase.