Created
February 6, 2020 23:15
-
-
Save luixaviles/07907ee85ac9694205b117f9b78eff0f 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
<google-map height="400px" | |
width="750px" | |
[center]="center" | |
[zoom]="zoom" | |
(mapClick)="addMarker($event)" | |
(mapMousemove)="move($event)" | |
(mapRightclick)="removeLastMarker()"> | |
<map-marker #marker | |
*ngFor="let markerPosition of markerPositions" | |
[position]="markerPosition" | |
[options]="markerOptions" | |
(mapClick)="openInfoWindow(marker)"></map-marker> | |
<map-info-window>Info Window content</map-info-window> | |
</google-map> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment