var map;
var marker;

// Standartwerte fur farbige Ikons von Google Map
var farbicon = new GIcon();
farbicon.iconSize = new GSize(16, 16);
farbicon.iconAnchor = new GPoint(12, 4);
farbicon.infoWindowAnchor = new GPoint(8, 0);

var stolperstein = new GIcon(farbicon, "/skins/images/stolperstein.jpg", null, null);

function load(lat,lng,zoom) {
  if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById("map"));
    map.setCenter(new GLatLng(lat,lng), zoom);
    movemap(lat,lng);
  }
}

function movemap(lat,lng) {
  if (marker) {
    map.removeOverlay(marker);
  }
  marker = new GMarker(new GLatLng(lat,lng), stolperstein);
  map.addOverlay(marker);
}