This question is locked. New answers and comments are not allowed.
Hi,
I’ve got a very basic app which replicates the example at http://openlayers.org/dev/examples/mobile-jq.html#mappage and should display a simple map of the world.
It works fine in the simulator, but as soon as I load it into Ion it has a blank screen where the map should be. A colleague has tried running it on his Android tablet and it works fine there, but with Ion on the iPhone I’m having no luck at all.
I’ve tried adding in some debugging to try and figure out what’s happening and it looks like the init() function (which creates the map) enters correctly, but something’s happening in there as it doesn’t appear to exit correctly (the debug test I’ve written at the end of the function never gets fired). Now I’m at a loss as I have no idea how to find out what’s going wrong—as I say it works in the simulator, where I’ve got access to the console, so I expected it to work fine on the phone too.
Any ideas what I could do to try and find out where my code is failing within Ion?
Thanks,
I’ve got a very basic app which replicates the example at http://openlayers.org/dev/examples/mobile-jq.html#mappage and should display a simple map of the world.
It works fine in the simulator, but as soon as I load it into Ion it has a blank screen where the map should be. A colleague has tried running it on his Android tablet and it works fine there, but with Ion on the iPhone I’m having no luck at all.
I’ve tried adding in some debugging to try and figure out what’s happening and it looks like the init() function (which creates the map) enters correctly, but something’s happening in there as it doesn’t appear to exit correctly (the debug test I’ve written at the end of the function never gets fired). Now I’m at a loss as I have no idea how to find out what’s going wrong—as I say it works in the simulator, where I’ve got access to the console, so I expected it to work fine on the phone too.
Any ideas what I could do to try and find out where my code is failing within Ion?
Thanks,