Atlaslog
Atlaslog / Leaflet / API reference / Circle
Leaflet · API reference

Circle

Quick answer

L.circle draws a geographic circle whose radius is measured in meters, so its screen size grows and shrinks as the map zooms. It suits buffer zones, coverage ranges and area analysis where the real-world extent matters. Use setRadius and setLatLng to update it in place.

Last verified 2026-11-03 · Leaflet 1.9.4 · Cite this page
L.circle( latlng , radius , options ) → Circle
Key points
Example
var circle = L.circle([39.907359, 116.391263], {
  radius: 1500,
  color: '#1f5fd0',
  weight: 1.5,
  fillColor: '#1f5fd0',
  fillOpacity: 0.12
}).addTo(map);

circle.bindTooltip('半径 1.5 km');

circle.setRadius(3000);
circle.setLatLng([39.914, 116.404]);
Notes
Runnable examplesChinese originalAll API references
English edition written for Atlaslog. Code is taken from the original Chinese page and runs unchanged.
Cite this page

Atlaslog (2026). Circle. https://www.jingweizhi.com/en/leaflet/api/circle.html (accessed 2026-11-03).