NA.apiKey = "yourApiKey";
//get one: https://developers.google.com/maps/documentation/javascript/tutorial#api_key
NA.googleMaps('satellite', 33.389679, -104.555400, 19); 
        
function alienInvasion() {
    var ranX = Math.random()*window.innerWidth;
    var ranY = Math.random()*window.innerHeight;
    var ranSize = Math.random()*20 + 4;
    var ranClr = '#'+Math.floor(Math.random()*16777215).toString(16);
    
    NA.icons('spaceInvader',ranX,ranY,ranSize,ranClr); 
            
}
        
setInterval(alienInvasion, 1000);
view src