Google Maps
API Example
Show map on your web page
including map control and scale.
Source code:
<script src="http://maps.google.com/maps?file=api&v=2&key=yourkey"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GScaleControl());
map.setCenter(new GLatLng(50.8419, 4.3773), 8);
map.setCenter(new GLatLng(60.1698799133,24.9384078979), 13);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 500px; height: 300px"></div>
</body>
Map in action: