Pregunta

I am developing a mobile OpenLayers web site which uses the Google Maps Street layer. My problem is that it is almost impossible to read annotations on current generation high resolution displays.

The static Google Maps API (v2) featured a scale option to allow for high resolution screens. Is there anything to scale up the display Google Maps within OpenLayers?

I target specifically the Chrome browser on Android devices.

Cheers, Dennis

¿Fue útil?

Solución

Being fairly new to mobile web development I forgot to set a width as a meta tag in the site head. Defining a width fixes the styling problem on high resolution devices.

<head runat="server">
    <meta name="viewport" content="width=500px" />
</head>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top