Eine erste Karte
Zunächst einmal ein Blick auf den kompletten Quelltext:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">

<head>
  <title>Karte</title>

  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />

  <script src="http://maps.google.com/maps?file=api&v=2&key=[Schlüssel]" type="text/javascript"></script>
  <script type="text/javascript">
  /* <![CDATA[ */
    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        var mapcenter = new GLatLng(47.43985278, 11.69574722);
        map.setCenter(mapcenter, 13);
      }
    }
  /* ]]> */
  </script>
</head>

<body onload="initialize()" onunload="GUnload()" style="margin:0px; padding:0px">
  <div id="map" style="width:380px; height:285px"></div>
</body>
</html>
Im einzelnen sind folgende Schritte notwendig: Das Ergebnis sieht wie folgt aus:
zum Seitenanfang zum Seitenanfang