--- layout: api title: "v2.1.1 JavaScript Library: L.Circle" categories: api version: v2.1.1 permalink: /api/v2.1.1/l-circle ---

## Circle

A class for drawing circle overlays on a map. Extends Path. Use Map#addLayer to add it to the map.

    L.circle([50.5, 30.5], 200).addTo(map);

### Creation

Factory | Description
--- | ---
`L.circle( <LatLng> latlng, <Number> radius, <Path options> options? )` | Instantiates a circle object given a geographical point, a radius in meters and optionally an options object.

### Methods

Method | Returns | Description
--- | --- | ---
`getLatLng()` | `LatLng` | Returns the current geographical position of the circle.
`getRadius()` | `Number` | Returns the current radius of a circle. Units are in meters.
`setLatLng( <LatLng> latlng )` | `this` | Sets the position of a circle to a new location.
`setRadius( <Number> radius )` | `this` | Sets the radius of a circle. Units are in meters.
`toGeoJSON()` | `Object` | Returns a GeoJSON representation of the circle (GeoJSON Point Feature).