I'm using jQuery mobile alongside the Google Maps API. I am creating an Google Elevation Chart for a route but I am struggling to get this to display full screen - it renders in the top left corner at 32px x 32px after assigning width, height 100% to the elevation chart elements.
I had a similar problem with my Google map to begin with and solved this by adding -
$('#home').live('pagecreate',function(event) {
$("#btnSubmit").click( function (e) {
initialize();
$.mobile.changePage("#map-page");
});
});
Do I need to do something similar to get the Elevation chart to render correctly? I am unable to work out what to do.