anchor.diff:          });
         },
   
  +      getCoordinates: function() {
  +        return {
  +          lat: parseFloat($("#" + osmObject.idLat).val()) || <%= default_lat %>,
  +          lng: parseFloat($("#" + osmObject.idLng).val()) || <%= default_lng %>,
  +        };
  +      },
  +
         newLocation: function(item) {
           $("#"+osmObject.idLat).val(item.lat);
           $("#"+osmObject.idLng).val(item.lon);
  
positive.code:       height: 18px;
        position: relative;
        left: 52px;
        top: 39px;
        max-width: 400px;
        z-index: 2;
        border-radius: 4px;
      }
    </style>
    <input id="latlng-search-box" class="leaflet-bar" type="text" style="" placeholder="Search address...">
    <div id="locationPicker" style="width: auto; height: <%= height %>px;"></div>
  </li>
  
negative.code:     }
  
      $(document).ready(function () {
        var coordinates = osmObject.getCoordinates();
        osmObject.init(coordinates.lat, coordinates.lng);
      });
    </script>
    <style>
  