Jump to content

screen mask behind unimap


Point

Recommended Posts

Hi, i setted like this :

  uniMap.CreateOrder := 1200;
  uniMap.MapControlOptions.AutoZIndex := False;

unfortunately still doesn't work. i think it's about z-index. but i dont know how to set it.  i check in leaflet.css too many z-index.

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

 

Link to comment
Share on other sites

10 minutes ago, Point said:

Hi, i setted like this :

  uniMap.CreateOrder := 1200;
  uniMap.MapControlOptions.AutoZIndex := False;

unfortunately still doesn't work. i think it's about z-index. but i dont know how to set it.  i check in leaflet.css too many z-index.

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

 

try to set uniMap.CreateOrder := 50;

I think uniMask Z-Index  (CreateOrder) is 5000, but I am not sure. try uniMap.CreateOrder with different values .

I use this to set z-index =auto on my TuniDBGrid pagingBar

TuniDBGrid (MyComponent).ClientEvents.ExtEvents.Values['onafterrender'] := 'function afterrender(sender, eOpts){if (sender.headerCt) {sender.headerCt.el.setStyle("z-index", "auto")}; if (sender.pagingBar) {sender.pagingBar.el.setStyle("z-index", "auto")}; }';
 

Link to comment
Share on other sites

1 minute ago, Point said:

still not work

I use this to set z-index =auto on my TuniDBGrid pagingBar

TuniDBGrid (MyComponent).ClientEvents.ExtEvents.Values['onafterrender'] := 'function afterrender(sender, eOpts){if (sender.headerCt) {sender.headerCt.el.setStyle("z-index", "auto")}; if (sender.pagingBar) {sender.pagingBar.el.setStyle("z-index", "auto")}; }';

can you try to use it on Mask or uniMap 

Link to comment
Share on other sites

7 minutes ago, irigsoft said:

I use this to set z-index =auto on my TuniDBGrid pagingBar

TuniDBGrid (MyComponent).ClientEvents.ExtEvents.Values['onafterrender'] := 'function afterrender(sender, eOpts){if (sender.headerCt) {sender.headerCt.el.setStyle("z-index", "auto")}; if (sender.pagingBar) {sender.pagingBar.el.setStyle("z-index", "auto")}; }';

can you try to use it on Mask or uniMap 

i dont know the name element for uniMap.

Link to comment
Share on other sites

9 minutes ago, irigsoft said:

If You try with:

YouruniMap.ClientEvents.ExtEvents.Values['onafterrender'] := 'function afterrender(sender, eOpts){ {sender.el.setStyle("z-index", "100")}; }';

wait, seem it's work. unimap must set to autoZindex = false.

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...