Search code examples
javascriptgoogle-mapsgeometryspatial

What units does the Google Maps API's event.overlay.getRadius return value use?


I am using the below code:

google.maps.event.addListener(drawingManager, "overlaycomplete", function(event) {
   if(event.type == 'circle') {
      $('#radius').val(event.overlay.getRadius());
   }
} 

What is the measurement unit of this radius?


Solution

  • Meters according to documentation