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 ILatLngBounds
getBounds()
Get a COPY of the circle's boundsILatLng
getCenter()
Returns the center of this circle.double
getRadius()
Get the radius of the circle in the system's current units.void
setCenter(ILatLng center)
Set the center of this circle.void
setCircleEvent(CircleEventType eventType, java.lang.Runnable eventFn)
Set a CircleEventType eventvoid
setRadius(double radius)
Set the radius of the circle in the system's current units.Methods inherited from interface provided.owlMaps.mouse.IComponentMouseDragEventObject
setComponentMouseDragEvent
Methods inherited from interface provided.owlMaps.mouse.IComponentMouseEventObject
setComponentMouseEvent
Methods inherited from interface provided.owlMaps.general.IOptionedMapObject
setOptions
Methods 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.
-