I'd like to have the popup to appear on the bottom-right by default. With config below, the popup appears where the feature is , then you have to click the Dock icon to move it. After that it stays at the bottom-right for all subsequent clicks on features. How do I produce the popup at the bottom-right from the start without the need to click on Dock?
popup: {
dockEnabled: true,
autoOpenEnabled: true,
dockOptions: {
buttonEnabled:true,
position: "bottom-right"
}
}
Solved! Go to Solution.
Hi @LefterisKoumis ,
It looks like you need to set the breakpoint property to false within the dockOptions. Setting this property will disable docking at a breakpoint and allows the popup to be always docked if specified. See the following for a working example: https://codepen.io/laurenb14/pen/VwyyBMM?editors=1000
Hope this helps!
Hi @LefterisKoumis ,
It looks like you need to set the breakpoint property to false within the dockOptions. Setting this property will disable docking at a breakpoint and allows the popup to be always docked if specified. See the following for a working example: https://codepen.io/laurenb14/pen/VwyyBMM?editors=1000
Hope this helps!