Home > @magiclane/maps-sdk > CircleGeographicArea
CircleGeographicArea class
CircleGeographicArea object.
Signature:
export declare class CircleGeographicArea implements GeographicArea Implements: GeographicArea
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructor |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| Get the bounding box. | ||
Center coordinates of the circle | |||
| Retrieves the center point of the geographic area. | ||
| boolean | ||
| boolean | Checks if the geographic area is empty. | |
number | Radius of the circle in meters | ||
| Retrieves the specific type of the geographic area. |
Methods
Method | Modifiers | Description |
|---|---|---|
Checks if the specified point is contained within the geographic area. | ||
Converts the circle to another geographic area type, if possible. | ||
Equality comparison | ||
| Create from JSON representation | |
Resets the circle to default state. | ||
Convert to JSON representation | ||
JSON.stringify hook: native calls receive the toJson() form (lowercase keys plus type), which is what the engine's area parser expects. | ||
String representation |