Hi Volker,

>Just put this after OpenLayers.js is loaded:
>
>      OpenLayers.Map.prototype.getCurrentSize = function() {
>          var mapDiv = $(this.div);
>          return new OpenLayers.Size(mapDiv.width(), mapDiv.height());
>      }

Thanks for this solution.

It seems to work with jquery mobile beta2 as well.

Noli
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to