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 Summary
Modifier and Type Method Description ILatLngBoundsgetBounds()Get a COPY of the circle's boundsILatLnggetCenter()Returns the center of this circle.doublegetRadius()Get the radius of the circle in the system's current units.voidsetCenter(ILatLng center)Set the center of this circle.voidsetCircleEvent(CircleEventType eventType, java.lang.Runnable eventFn)Set a CircleEventType eventvoidsetRadius(double radius)Set the radius of the circle in the system's current units.Methods inherited from interface provided.owlMaps.mouse.IComponentMouseDragEventObject
setComponentMouseDragEventMethods inherited from interface provided.owlMaps.mouse.IComponentMouseEventObject
setComponentMouseEventMethods inherited from interface provided.owlMaps.general.IOptionedMapObject
setOptionsMethods inherited from interface provided.owlMaps.general.IVisibleMapObject
getVisible, setVisible
-
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
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
Set a CircleEventType event- Parameters:
eventType- The type of event being seteventFn- The callback to use when the event is invoked.
-