I would like the map to be fullscren without the url bar, but the
metatag is making this difficult as the recomended is:
<meta name="viewport" content="width=device-width, initial-scale=1.0,
user-scalable=no" />

Tried the below but it becomes very small and the map is not centerd
properly.
<meta name="viewport" content="width=320; initial-scale=0.6666;
maximum-scale=1.0; minimum-scale=0.6666"/>

the javascript that removes the url bar is

<script type="application/x-javascript">
if (navigator.userAgent.indexOf('iPhone') != -1) {
addEventListener("load", function() {
setTimeout(hideURLbar, 0);
}, false);
}

function hideURLbar() {
window.scrollTo(0, 1);

}
</script>

Anyone had any success with viewpoint and google maps without the url
bar?





-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to