HelpNearMe
asked on
Google Maps API zoom level
Hi Experts,
How can I set the zoom level of an embedded map that uses this code?
thanks,
HNM
How can I set the zoom level of an embedded map that uses this code?
thanks,
HNM
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps JavaScript API v3 Example: Map Simple</title>
<script type="text/javascript">
function showMap() {
document.getElementById("map_image").style.display = "none";
document.getElementById("map_canvas").style.display = "block";
}
function showImage() {
document.getElementById("map_canvas").style.display = "none";
document.getElementById("map_image").style.display = "block";
}
</script>
</head>
<body onLoad="showImage()">
<div onmouseover="showMap()" onmouseout="showImage()" style="width: 600px; height: 380px;">
<div id="map_image" style="cursor: pointer; width: 600px; height: 380px; display:none;"><img src="sample6.gif"/></div>
<div id="map_canvas" style="cursor: pointer; width: 600px; height: 380px; display:block;">
<iframe width="600" height="380" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=210368108731107137948.00049ccf76c5931353509&ll=37.0625,-95.677068&spn=47.885545,79.013672&iwloc=00049ccf79f3e3c18f6c7&output=embed"></iframe>
</div>
</div>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER