// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
function updateLocation(point) {
    document.getElementById('lugar_geo_lat').value = point.y;
    document.getElementById('lugar_geo_long').value = point.x;
    map.clearOverlays();
    map.addOverlay(new GMarker(new GLatLng(point.y, point.x)));
}
function updateLocationUser(point) {
    document.getElementById('user_geo_lat').value = point.y;
    document.getElementById('user_geo_long').value = point.x;
    map.clearOverlays();
    map.addOverlay(new GMarker(new GLatLng(point.y, point.x)));
}