Browse Source
Merge pull request #14746 from vvlladd28/bug/map/fixed-action-panel
Fixed map action panel hide when open other data layer
pull/14752/head
Vladyslav Prykhodko
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/data-layer-utils.ts
|
|
@ -44,6 +44,7 @@ export const createTooltip = (map: TbMap<any>, |
|
|
tooltip.close(); |
|
|
tooltip.close(); |
|
|
} else if (canOpen()) { |
|
|
} else if (canOpen()) { |
|
|
if ((tooltip as any)._prepareOpen((layer as any)._latlng)) { |
|
|
if ((tooltip as any)._prepareOpen((layer as any)._latlng)) { |
|
|
|
|
|
map.deselectItem(); |
|
|
tooltip.openOn(map.getMap()); |
|
|
tooltip.openOn(map.getMap()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|