문제

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