Allow map interaction while expand-component is expanded
TerminéeIf you have a Map in a Viewer, that contains Expand-components with for example the Overview Map or Legend, it is not possible to interact with the map while this is expanded. It would be nice to at least have an option to be able to interact with the map (zoom, pan, etc.) while an expand component is expanded. It would be helpful for users to keep their Overview Map visible while navigating around the map.
-
Commentaire officiel
Hi Guido Mosch … actually there is.
By default, expands stay open until you click on the expand again, or click elsewhere which will close it.
There is another option you can manually configure in your layout.xml for the expand that changes this behavior.
<expand config="expand-config-1" slot="bottom-end" modal="false" id="expand-ca00f2bb">
The modal="false" will leave the expand open until you close it by clicking on it again.
In your application this will have the effect that you will be able to interact with map (but the expand will stay open until you close it).
If you have several expands you can quickly get into a situation where many of them are open, and may even overlap each other … but this alternate mode of operation is there if you want to try it.
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire