All Implemented Interfaces:
Serializable, Evented, SupportsMouseEvents, HasStyle, Identifiable, LayerPopupFunctions, LayerTooltipFunctions, ExecutableFunctions, PathFunctions

public class Circle extends CircleMarker
A class for drawing circle overlays on a map. Extends CircleMarker. It's an approximation and starts to diverge from a real circle closer to poles (due to projection distortion).
See Also:
  • Constructor Details

    • Circle

      public Circle(LatLng latlng)
      Instantiates a circle at the given geographical point using the default radius.
      Parameters:
      latlng - the geographical center of the circle
    • Circle

      public Circle(LatLng latlng, double radius)
      Instantiates a circle at the given geographical point with the given radius in meters.
      Parameters:
      latlng - the geographical center of the circle
      radius - the radius of the circle, in meters