I have the following code:

var s2 = ee.ImageCollection("COPERNICUS/S2")
  .filterDate('2018-03-15', '2018-09-15')
  .filterBounds(ee.Geometry.Point(23.20, 41.88))

function addImage(image) { // display each image in collection
  var id = image.id
  var image = ee.Image(image.id)
  Map.addLayer(image, {bands: ['B8', 'B11', 'B4'], max: 5000}, 'S2')

s2.evaluate(function(s2) {  // use map on client-side


To download a collection of Sentinel-2 images to a location in my project. However, I would like to add Google Earth imagery into my project. Is it possible?

  • So simple! Thanks! Oct 29, 2019 at 3:41
  • No problem! consider clicking the green check mark to mark this as answered
    – geoeye
    Oct 29, 2019 at 5:09
  • Done! Thanks again! Oct 29, 2019 at 5:47

2 Answers 2


You can click the "satellite" tab next to the "layers" bar to view the google satellite imagery with your project:

enter image description here


No, it is not possible. Google Earth's imagery is not currently available anywhere other than via the Google Earth application.

  • This code is adding images as per imagecollection. but it gives 'Constant' as id and value of the image. hence,it is not showing anything but layer is added. @Roger Almengor Jan 22, 2020 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.