Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

434
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda