Last active
November 20, 2019 02:03
-
-
Save Klerith/477c32a5bd41797d131ac63a2bb1c9c7 to your computer and use it in GitHub Desktop.
Lugares específicos para el curso de Sockets con Angular
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
lugares: Lugar[] = [{ | |
id: '1', | |
nombre: 'Fernando', | |
lng: -75.75512993582937, | |
lat: 45.349977429009954, | |
color: '#dd8fee' | |
}, | |
{ | |
id: '2', | |
nombre: 'Amy', | |
lng: -75.75195645527508, | |
lat: 45.351584045823756, | |
color: '#790af0' | |
}, | |
{ | |
id: '3', | |
nombre: 'Orlando', | |
lng: -75.75900589557777, | |
lat: 45.34794635758547, | |
color: '#19884b' | |
}]; | |
Algonquin College | |
lng -75.75512993582937 | |
lat 45.349977429009954 | |
// Función para generar un color HEX random | |
'#' + Math.floor(Math.random()*16777215).toString(16) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment