geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
503 stars 386 forks source link

Improve draggable windows layout management #3633

Open MV88 opened 5 years ago

MV88 commented 5 years ago

Description

We need some sort of window manager for handling the layout when modals are visible on the map. Actually the order of the modals depends on the order they are added in the localcConfig

the window manager should:

Browser Affected (use this site: https://www.whatsmybrowser.org/ for non expert users)

Browser Version Affected

Steps to reproduce

Expected Result

Current Result

Other useful information (optional):

The problem is that right now, if they have the same z-index and the last in the DOM inside <div id="viewer"> appears as the first With this pr zIndex are customized for the different dialogs

┻┳|
┳┻| _
┻┳| •.•) 💬 "look at the screenshot below"
┳┻|⊂ノ
┻┳|

image

MV88 commented 5 years ago

proposed solutions:

Ideas to convert existing windows: Add local vector file: has been refactored as an import/export tool. We should make the remaining windows (styler) as modal windows Settings: modal (or side panel, you don't need to interact with the map) Print: TBD (interact with map or not) ? Share: Side panel (you have to interact with the map to setup the zoom) Measure: already optional side-panel About: Modal