javascript - Cordova problems with google map -


i'm developing app whit phonegap (cordova). app includes google map markers. app has more pages list of comerces…

the map shows correctly, when change page, , map page, map displaced , info windows not open correctly.

is there way put map , appears correctly when changing pages?

and have seen map consuming lot internet data. make me suggestion?

i hope can me!! thanks, , excuse me bad english.

i had similar problems google maps , cordova. using jquery-mobile , if switch between pages maps wasn't loaded properly. can check out different page events , try "resize" maps. playing different version of cordova , jquery-mobile. this well.

$(document).on("pagebeforeshow","#pagetwo",function(){   google.maps.event.trigger(map, 'resize'); }); 

best

m


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -