anchor.diff:  
               }
   
  +            function setMarkers() {
  +
  +                var markerP1 = new google.maps.Marker({
  +                    position: new google.maps.LatLng(48.152942, 11.548835),
  +                    map: map,
  +                    icon: iconBaseProjects + 'ylw-circle-lv.png'
  +                });
  +
  +                // alert(calcDistance(markerP1.getPosition(), initialLatLng));
  +
  +                var P1IW = "Projekt1: DHZ München";
  +                var infowindowP1 = new google.maps.InfoWindow({
  +                    content: P1IW
  +                });
  +                google.maps.event.addListener(markerP1, 'click', function () {
  +                    infowindowP1.open(map, markerP1);
  +                });
  +
  +                var markerP2 = new google.maps.Marker({
  +                    position: new google.maps.LatLng(48.154681, 11.557418),
  +                    map: map,
  +                    icon: iconBaseProjects + 'ylw-circle-lv.png'
  +                });
  +                var P2IW = "Projekt 2: Kindergarten";
  +                var infowindowP2 = new google.maps.InfoWindow({
  +                    content: P2IW
  +                });
  +                google.maps.event.addListener(markerP2, 'click', function () {
  +                    infowindowP2.open(map, markerP2);
  +                });
  +
  +            }
  +
  +            function calcDistance(fromLatLng, toLatLng) {
  +                return (google.maps.geometry.spherical.computeDistanceBetween(fromLatLng, toLatLng) / 1000).toFixed(2);
  +            }
  +
               google.maps.event.addDomListener(window, 'load', initialize);
   
               $("#locationinput").bind("enterKey", function (e) {
   
                   geocoder.geocode({'address': $("#locationinput").val()}, function (results, status) {
                       if (status == google.maps.GeocoderStatus.OK) {
  -                        var pos = new google.maps.LatLng(results[0].geometry.location.lat(),
  +                        latlng = new google.maps.LatLng(results[0].geometry.location.lat(),
                                   results[0].geometry.location.lng());
   
  -                        if(markerHome != undefined) {
  -                            markerHome.setMap(null);
  -                        }
  -
  -                        markerHome = new google.maps.Marker({
  -                            position: pos,
  -                            map: map,
  -                            icon: iconBaseProjects + 'red-circle-lv.png'
  -                        });
  -
  -                        map.setCenter(pos);
  -                        $("#slider-1").slider('value',minVal);
  -                        $("#km").text(kmdisplay[minVal]);
  -                        map.setZoom(initialzoom);
  +                        setHomeMarker();
   
                       } else {
                           alert("Die Eingabe \'" + $("#locationinput").val() + "\' liefert kein Ergebnis! \n Fehlercode: " + status);
  
positive.code:                 }
                  map = new google.maps.Map(mapCanvas, mapOptions);
  
                  var markerP1 = new google.maps.Marker({
                      position: new google.maps.LatLng(48.152942, 11.548835),
                      map: map,
                      icon: iconBaseProjects + 'ylw-circle-lv.png'
                  });
                  var P1IW = "Projekt 1: DHZ München";
                  var infowindowP1 = new google.maps.InfoWindow({
                      content: P1IW
                  });
                  google.maps.event.addListener(markerP1, 'click', function () {
                      infowindowP1.open(map, markerP1);
                  });
  
                  var markerP2 = new google.maps.Marker({
                      position: new google.maps.LatLng(48.154681, 11.557418),
                      map: map,
                      icon: iconBaseProjects + 'ylw-circle-lv.png'
                  });
                  var P2IW = "Projekt 2: Kindergarten";
                  var infowindowP2 = new google.maps.InfoWindow({
                      content: P2IW
                  });
                  google.maps.event.addListener(markerP2, 'click', function () {
                      infowindowP2.open(map, markerP2);
                  });
  
                  // Try HTML5 geolocation
                  if (navigator.geolocation) {
                      navigator.geolocation.getCurrentPosition(function (position) {
                          var latlng = new google.maps.LatLng(position.coords.latitude,
                                  position.coords.longitude);
  
                          geocoder.geocode({'location': latlng}, function(results, status) {
                                      $('#locationinput').val(results[1].formatted_address);
                          });
  
                          if(markerHome != undefined) {
                              markerHome.setMap(null);
                          }
  
                          markerHome = new google.maps.Marker({
                              position: latlng,
                              map: map,
                              icon: iconBaseProjects + 'red-circle-lv.png'
                          });
  
                          map.setCenter(latlng);
                          map.setZoom(initialzoom);
                      }, function () {
                          handleNoGeolocation(true);
                      });
  
negative.code: <% content_for :head do %>
  
      <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry"></script>
  
      <script>
  
  