<!DOCTYPE html>
<html>
<head>
<title>Maps</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/maplabel/src/maplabel-compiled.js"></script>
<script type="text/javascript">
function initialize() {
var latlng = new google.maps.LatLng(55.755833, 38);
var settings = {
zoom: 10,
center: latlng,
mapTypeControl: true,
mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU },
navigationControl: true,
navigationControlOptions: { style: google.maps.NavigationControlStyle.SMALL },
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"), settings);
var companyPos = new google.maps.LatLng(55.755833, 38);
var mapLabel = new MapLabel({
text: 'Пишу что угодно',
position: companyPos,
map: map,
fontSize: 20,
fontColor: 'red',
align: 'center'
});
}
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width: 800px; height: 500px">
</div>
</body>
</html>