Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

153
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda