Allow any widget or element to be draggable/resizable (add Draggable and Resizable properties to 4x API - View UI). This would allow popups to move or resize. Or a LayerList. Or Search widget. Or any widget or DOM element that would make sense to register with View UI as moveable. Also add an autofit property true/false and with padding parameter; to allow popups to autosize in height or widgth and with given extra padding or margin. Seems like the perfect place to add this vital functionality to the API.
I have created moveable popups for JS API 4.x. Example: https://codepen.io/kevinsagis/full/bGpdQQq
It hides the callout on move with CSS; and is moveable via titlebar. Last thing to do still is implement a leader line that follows it like a callout. Using jQuery which is still awesome in 2020!
This example above with jQuery will work for any widget you could put in a div like I have in this example. It would be great to see moving integrated natively in this fashion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.