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

433
Visualizações
Full screen OpenLayer Map : Higher pixel resolution on portrait mode than on landscape?

I am building a simple map show meteo and wind information for a Sail race in Switzerland. Everything is working as expected, BUT one thing.

The screen resolution between portrait and landscape is different. The width and height are not inversed but massively different. The main issue is on portrait as the resolution seems 2 times higher, the map is supper sluggish. Also the layer haven't the same resolution at all depending on the mode.

On my pixel 5: Portrait mode = Height: 2121 / width: 980 Landscape mode = Height:453 / width: 980

So far, I have managed the scale of my additional vector layer and the default zoom level depending on screen orientation, but the overal map as a complete different scale

The app is a basic OpenLayer based map written in HTML.

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