Skip to content

Instantly share code, notes, and snippets.

@timdeschryver
Created November 3, 2019 16:35
Show Gist options
  • Save timdeschryver/e0a4ce2dfa262ca521c9ac518cc7897f to your computer and use it in GitHub Desktop.
Save timdeschryver/e0a4ce2dfa262ca521c9ac518cc7897f to your computer and use it in GitHub Desktop.
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