## Find features near a geographic point `elements().nearby(ElementNearbyParamsparams, RequestOptionsrequestOptions = RequestOptions.none()) : FeatureCollection` **get** `/api/v1/features/nearby` Find features near a geographic point ### Parameters - `params: ElementNearbyParams` - `lat: Double` Latitude (-90 to 90) - `lng: Double` Longitude (-180 to 180) - `limit: Optional` Maximum results (default 20, max 100) - `radius: Optional` Search radius in meters (default 500, max 10000) ### Returns - `class FeatureCollection:` Bare GeoJSON FeatureCollection. Pagination metadata is returned in HTTP headers (X-Limit, X-Has-More, X-Next-Cursor, X-Next-Offset, Link). - `features: List` - `geometry: GeoJsonGeometry` - `coordinates: Coordinates` GeoJSON coordinates array (nesting depth varies by geometry type) - `List` - `List>` - `List>>` - `List>>>` - `type: Type` - `POINT("Point")` - `LINE_STRING("LineString")` - `POLYGON("Polygon")` - `MULTI_POINT("MultiPoint")` - `MULTI_LINE_STRING("MultiLineString")` - `MULTI_POLYGON("MultiPolygon")` - `properties: Properties` - `type: Type` - `FEATURE("Feature")` - `id: Optional` Feature identifier (type/osm_id) - `osmId: Optional` OpenStreetMap ID - `type: Type` - `FEATURE_COLLECTION("FeatureCollection")` ### Example ```kotlin package com.plazafyi.example import com.plazafyi.client.PlazaClient import com.plazafyi.client.okhttp.PlazaOkHttpClient import com.plazafyi.models.FeatureCollection import com.plazafyi.models.elements.ElementNearbyParams fun main() { val client: PlazaClient = PlazaOkHttpClient.fromEnv() val params: ElementNearbyParams = ElementNearbyParams.builder() .lat(0.0) .lng(0.0) .build() val featureCollection: FeatureCollection = client.elements().nearby(params) } ```