title: How to get the radius after editing circle... google maps apí
body: <p>i'm trying get the radius after editing circle, i am using the  drawingManager library for draw the circle into map. the next part is a part of the code.</p>
  
  
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  
  
      function initialize() {
          var mapOptions = {
            //center: new google.maps.LatLng(-34.397, 150.644),
            center: new google.maps.LatLng(4.705, -74.113),
            zoom: 5,
            mapTypeId: google.maps.MapTypeId.ROADMAP
      };
  
      var map = new google.maps.Map(document.getElementById('map_canvas'),
        mapOptions);
      redondo = new google.maps.Circle(document.getElementById('map_canvas'),mapOptions);
  
      var drawingManager = new google.maps.drawing.DrawingManager({
          drawingMode: google.maps.drawing.OverlayType.MARKER,
          drawingControl: true,
          drawingControlOptions: {
              position: google.maps.ControlPosition.TOP_CENTER,
              drawingModes: [
                google.maps.drawing.OverlayType.MARKER,
                google.maps.drawing.OverlayType.CIRCLE,
                google.maps.drawing.OverlayType.POLYGON,
                google.maps.drawing.OverlayType.POLYLINE,
                google.maps.drawing.OverlayType.RECTANGLE
          ]
        },
        markerOptions: {
          icon: 'Images/marker_sprite.png'
        },
        circleOptions: {
          strokeColor: '#FF0000',
          fillColor: '#DF0101',
          fillOpacity: 0.3,
          strokeWeight: 2,
          editable:true
  
        },
         rectangleOptions: {
            strokeColor: "#FF0000",
            strokeWeight: 2,
            fillColor: '#DF0101',
            fillOpacity: 0.35,
         },
         polygonOptions: {
            strokeColor: "#FF0000",
            strokeWeight: 2,
            fillColor: '#DF0101',
            fillOpacity: 0.35,
         }            
      });
      drawingManager.setMap(map);
      google.maps.event.addListener(drawingManager,'circlecomplete', function(circle){
           radius = circle.getRadius();
          document.getElementById("radio").innerHTML=radius;
          redondo=circle;
  
      });
  
      google.maps.event.addListener(drawingManager, 'polygoncomplete', function(Polygon) {
          var vertices = Polygon.getPath();
          var pocision="";
          for (var i=0; i &lt; vertices.length; i++){
              var xy=vertices.getAt(i);
              pocision += "&lt;br&gt;"+ xy.lng() +" , " + xy.lat();
              document.getElementById("posicion").innerHTML=pocision;
            }
            //document.getElementById("posicion").innerHTML= Polygon.getPaths(latlang).tostring;
          });
  
  
      var redondo= new google.maps.circle();
      google.maps.event.addListener(redondo, 'radius_changed', function(){
  
      --///////// in this part of the code don't enter 
          alert('buenaS');
      });
    }
  
    google.maps.event.addDomListener(window, 'load', initialize);
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
       &lt;div id="map_canvas" style="width: 500px; height: 400px; display:table-cell"&gt;&lt;/div&gt;
       &lt;div style="margin:0px 0px 0px 800px; display:table-cell"&gt;     
          Posicion: &lt;span id="posicion" style="display:none"&gt;&lt;/span&gt;&lt;br&gt;      
          Radio = &lt;span id="radio"&gt;&lt;/span&gt;        
       &lt;/div&gt;
  </code></pre>
  
  <p>i was searching  the event  handler to change radius and call 'radius_changed' but to me don't work </p>