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

有帮助吗?

解决方案

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>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top