All Implemented Interfaces:
Serializable, Evented, SupportsMouseEvents, HasStyle, Identifiable, LayerPopupFunctions, LayerTooltipFunctions, ExecutableFunctions, PathFunctions
Direct Known Subclasses:
Circle

public class CircleMarker extends Path
A circle of a fixed size with radius specified in pixels. Extends Path.
See Also:
  • Constructor Details

    • CircleMarker

      public CircleMarker(LatLng latlng)
      Instantiates a circle marker object given a geographical point
      Parameters:
      latlng - geographical point
    • CircleMarker

      public CircleMarker(LatLng latlng, double radius)
      Instantiates a circle marker object given a geographical point and a custom radius in pixels
      Parameters:
      latlng - geographical point
      radius - radius in pixels
  • Method Details

    • getLatlng

      public LatLng getLatlng()
      Gets the geographical point where the circle marker is centered.
      Returns:
      the latlng
    • getRadius

      public double getRadius()
      Radius of the circle marker, in pixels
      Returns:
      the radius in pixels