Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
How to show the most up-to-date satellite layer in Google Maps

I am creating a simple embedded Google Maps viewer:

let map;

function initMap() {
  map = new google.maps.Map(document.getElementById("map"), {
    center: { lat: 40.595139, lng: -3.983694 },
    zoom: 19,
    mapTypeId: "satellite",
  });
}

See the JSFiddle here:

https://jsfiddle.net/Peque/90yzhec1/

The code is resulting in this image being shown:

enter image description here

However, I know they have a more up-to-date image. I can see it in Google Earth and in Google Maps as well if I visit the place at google.com:

enter image description here

Funiest thing is, the same code shared above, when I click "Run" in JSFiddle (and if the browser window is not maximized nor in full screen), it briefly shows the more up-to-date picture first, only to cover it with the outdated version afterwards:

enter image description here

Is there any way to get the more up-to-date image shown instead? (or avoid the viewer to put the outdated version on top)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!