This question is locked. New answers and comments are not allowed.
I am binding the visibility property of an information layer of a radmap to a boolean property in a viewmodel (via a converter). I want users to be able to show and hide the layer by checking and unchecking a checkbox.
This works when setting the boolean viewmodel property on initialization, the layer is shown or hidden based on what the property is set to. However when I subsequently change the value of the boolean viewmodel property the information layer does not show or hide.
Is the visibility of an information layer effectively a one-time only binding? I have set the binding mode to 'two-way' but it doesn't seem to make any difference.
Should I be showing or hiding the layer in some other way?
Would the functionality be different if I were using a dynamic layer?
Thanks in advance
This works when setting the boolean viewmodel property on initialization, the layer is shown or hidden based on what the property is set to. However when I subsequently change the value of the boolean viewmodel property the information layer does not show or hide.
Is the visibility of an information layer effectively a one-time only binding? I have set the binding mode to 'two-way' but it doesn't seem to make any difference.
Should I be showing or hiding the layer in some other way?
Would the functionality be different if I were using a dynamic layer?
Thanks in advance