Hi,

I have a problem to create a mini map in my html file. I try unique
example founded in Internet: http://koti.mbnet.fi/ojalesa/v3/overview_v3.htm
but it doesn´t work.

<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</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
sensor=true&language=es"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
v=3.1&sensor=true"></script>
<script type="text/javascript" src="http://code.google.com/apis/gears/
gears_init.js"></script>
<script type="text/javascript">

var spain = new google.maps.LatLng(39.30, -0.31);
var map;

function initialize() {
  var myOptions = {
    zoom: 6,
    mapTypeId: google.maps.MapTypeId.ROADMAP
  };
  map = new google.maps.Map(document.getElementById("map"),
myOptions);
  map.setCenter(spain);

}

</script>
</head>
<body style="margin:0px; padding:0px;" onload="initialize()">
        <div id="map" style="width:100%; height:100%"></div>
</body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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/google-maps-js-api-v3?hl=en.

Reply via email to