Created
November 3, 2019 16:35
-
-
Save timdeschryver/e0a4ce2dfa262ca521c9ac518cc7897f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class AppComponent implements OnInit { | |
@ViewChild(MapInfoWindow, { static: false }) infoWindow: MapInfoWindow | |
infoContent = '' | |
openInfo(marker: MapMarker, content) { | |
this.infoContent = content | |
this.infoWindow.open(marker) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment