Package-level declarations

Includes Geometry Search related models, which pertain to the different types of geometry and their corresponding data description.

Types

Link copied to clipboard
data class CircleGeometry(val position: GeoPoint, val radius: Distance) : Geometry

Represents information about a circle.

Link copied to clipboard
abstract class Geometry

An interface that represents geometry in the Geometry Search API. There can be three different types of geometry: CircleGeometry, PolygonGeometry or RectangleGeometry.

Link copied to clipboard
data class GeometryData(val id: String, val data: FeatureCollection)

Describes a geometry data for a search result.

Link copied to clipboard
data class PolygonGeometry(@Size(min = 0, max = 50) val vertices: List<GeoPoint>) : Geometry

Represents information about a polygon.

Link copied to clipboard
data class RectangleGeometry(val boundingBox: GeoBoundingBox) : Geometry

Represents a rectangle.