You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to allow map and marker draggable property true or false based on some dynamic conditions. But right now, with first initialization of locationpicker on an element, if I set draggable property as false, it doesn't change ever after that, even when I try to reinitialise locationpicker on that element.
Can you please help me with this?
The text was updated successfully, but these errors were encountered:
I found a way to fix my problem. Since locationpicker was being applied on a simple div, I would delete that el from dom using jquery, and then create an el with same class and attributes at same location before performing reinitialisation on locationpicker on it.
I hope this idea helps someone.
But still, it will be good to have a solution from the team here.
I want to allow map and marker draggable property true or false based on some dynamic conditions. But right now, with first initialization of locationpicker on an element, if I set draggable property as false, it doesn't change ever after that, even when I try to reinitialise locationpicker on that element.
Can you please help me with this?
The text was updated successfully, but these errors were encountered: