What is the best way to show a full-screen google map on both iPad and iPhone and even when the orientation changed as well.
Edit: I’m implementing mobile application in jQuery mobile. not iOS application.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Basically Google Mps API renders the map into an
div(some cases in aniframe). Anyway you should specify an div to be your Map Canvas. if you change size of thediv, then size of the map will change.So if you define
widthandheightof the canvas to100%, it will always show the map covering whole screen.