[OpenLayers-Users] OL 2.12 on phonegap/cordova and android 4.1.1

Erdal Karaca erdal.karaca.de at gmail.com
Wed Dec 5 12:23:41 PST 2012


Thanks for the fast reply!

I use this to initialize the map div:

<div id="mapdiv" style="position: absolute; top: 0px; bottom: 0px;"></div>

That is wrong? How else do I get 'full screen map'?

2012/12/5 Pavel Iacovlev <iacovlev.pavel at gmail.com>

> Do not use static positioning for map div.
>
>
> On Wed, Dec 5, 2012 at 9:56 PM, Erdal Karaca <erdal.karaca.de at gmail.com>wrote:
>
>> When running OL 2.12 in phonegap/cordova and android 4.1.1 (galaxy s3),
>> the map (for instance OSM WMS) has a 'fisheye effect', i.e. at the center
>> of the screen everything is as expected, but at the borders everything is
>> 'squeezed'.
>> Did anyone else encounter this? Any hints what to look for or to check?
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121205/a23f03a6/attachment.html>


More information about the Users mailing list