Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 1bc2ed8

Browse files
committed
fix(SebmGoogleMapInfoWindow): zIndex and maxWidth
Fixes #651 Closes #656
1 parent cb2c465 commit 1bc2ed8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/core/directives/google-map-info-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let infoWindowId = 0;
3737
*/
3838
@Component({
3939
selector: 'sebm-google-map-info-window',
40-
inputs: ['latitude', 'longitude', 'disableAutoPan', 'isOpen'],
40+
inputs: ['latitude', 'longitude', 'disableAutoPan', 'isOpen', 'zIndex', 'maxWidth'],
4141
outputs: ['infoWindowClose'],
4242
template: `<div class='sebm-google-map-info-window-content'>
4343
<ng-content></ng-content>

src/core/services/managers/info-window-manager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export class InfoWindowManager {
6363
addInfoWindow(infoWindow: SebmGoogleMapInfoWindow) {
6464
const options: InfoWindowOptions = {
6565
content: infoWindow.content,
66+
maxWidth: infoWindow.maxWidth,
67+
zIndex: infoWindow.zIndex,
6668
};
6769
if (typeof infoWindow.latitude === 'number' && typeof infoWindow.longitude === 'number') {
6870
options.position = {lat: infoWindow.latitude, lng: infoWindow.longitude};

0 commit comments

Comments
 (0)