anchor.diff:          }
   
           #panel {
  -            position: absolute;
  +            position: relative;
               top: 5px;
               left: 50%;
  -            margin-left: -180px;
  +            margin-left: -400px;
               z-index: 5;
               background-color: #fff;
               padding: 5px;
               border: 1px solid #999;
  +        }
  +
  +        #directions-panel {
  +            height: 100%;
  +            float: right;
  +            width: 390px;
  +            overflow: auto;
  +        }
  +
  +        #map-canvas {
  +            margin-right: 400px;
  +        }
  +
  +        #control {
  +            background: #fff;
  +            padding: 5px;
  +            font-size: 14px;
  +            font-family: Arial;
  +            border: 1px solid #ccc;
  +            box-shadow: 0 2px 2px rgba(33, 33, 33, 0.4);
  +            display: none;
  +        }
  +
  +        @media print {
  +            #map-canvas {
  +                height: 500px;
  +                margin: 0;
  +            }
  +
  +            #directions-panel {
  +                float: none;
  +                width: auto;
  +            }
           }
       </style>
       <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
  
positive.code:                 }
              });
          }
          google.maps.event.addDomListener(window, 'load', initialize);
  
          function codeAddress() {
              var address = document.getElementById('address').value;
              geocoder.geocode( { 'address': address}, function(results, status) {
                  if (status == google.maps.GeocoderStatus.OK) {
                      map.setCenter(results[0].geometry.location);
                      var marker = new google.maps.Marker({
  
negative.code:                 }
              });
          }
          function computeTotalDistance(result) {
              var total = 0;
              var myroute = result.routes[0];
              for (var i = 0; i < myroute.legs.length; i++) {
                  total += myroute.legs[i].distance.value;
              }
              total = total / 1000.0;
              document.getElementById('total').innerHTML = total + ' km';
          }
  
          google.maps.event.addDomListener(window, 'load', initialize);
      </script>
  
  
  