Last active
August 3, 2021 17:23
-
-
Save smaillns/edabcb78668405003ed1962e469405fd 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
// component.ts | |
myLatLng = { lat: 48.829677, lng: 2.239609 }; // Map Options | |
mapOptions: google.maps.MapOptions = { | |
center: this.myLatLng, | |
zoom: 10, | |
}; | |
markerOptions: google.maps.MarkerOptions = {}; | |
spots: { id: number; lat: number; lng: number }[] = [ | |
{ id: 1, lat: 48.85952222328431, lng: 2.3347153257887454 }, | |
{ id: 2, lat: 48.80528296155103, lng: 2.2111191343824954 }, | |
{ id: 3, lat: 48.63132261107716, lng: 2.4308456968824954 }, | |
{ id: 4, lat: 48.77633134372322, lng: 2.4665512632887454 }, | |
{ id: 5, lat: 48.7871901580939, lng: 2.3127426695387454 }, | |
]; | |
constructor() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment