Interface ICircle

All Superinterfaces:
IComponentMouseDragEventObject, IComponentMouseEventObject, IOptionedMapObject<provided.mixedData.MixedDataDictionary>, IVisibleMapObject
All Known Subinterfaces:
ICircleWrapped

public interface ICircle
extends IVisibleMapObject, IComponentMouseEventObject, IComponentMouseDragEventObject, IOptionedMapObject<provided.mixedData.MixedDataDictionary>
Represents an circle drawn on the map This corresponds to a Javascript Google Maps google.maps.Circle object
Author:
swong
  • Method Details

    • getBounds

      ILatLngBounds getBounds()
      Get a COPY of the circle's bounds
      Returns:
      An ILatLngBounds object
    • getCenter

      ILatLng getCenter()
      Returns the center of this circle.
      Returns:
      The ILatLng of the center of the circle
    • setCenter

      void setCenter​(ILatLng center)
      Set the center of this circle.
      Parameters:
      center - The ILatLng of the new center of the circle
    • getRadius

      double getRadius()
      Get the radius of the circle in the system's current units.
      Returns:
      The radius of the circle
    • setRadius

      void setRadius​(double radius)
      Set the radius of the circle in the system's current units.
      Parameters:
      radius - The new radius of the circle.
    • setCircleEvent

      void setCircleEvent​(CircleEventType eventType, java.lang.Runnable eventFn)
      Set a CircleEventType event
      Parameters:
      eventType - The type of event being set
      eventFn - The callback to use when the event is invoked.