[OpenLayers-Dev] mobile-jq example does not work with current jQuery Mobile (was: Current and Future jQuery mobile will not work with OpenLayers.)

Eric Lemoine eric.lemoine at camptocamp.com
Tue Jul 12 07:38:00 EDT 2011


On Tue, Jul 12, 2011 at 12:05 PM, Noli Sicad <nsicad at gmail.com> wrote:
> I got this same error (below)  in my 2 other jquery mobile projects
> aside from the mobile-jq example from OpenLayers.
>
> OpenLayers.js:1234TypeError: Result of expression 'size' [null] is not
> an object.

Have you tried using window.onload = function() {} as opposed to
$(document).ready(function() {}) ?


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list