## Find features near a geographic point `client.elements.nearby(ElementNearbyParamsquery, RequestOptionsoptions?): FeatureCollection` **get** `/api/v1/features/nearby` Find features near a geographic point ### Parameters - `query: ElementNearbyParams` - `lat: number` Latitude (-90 to 90) - `lng: number` Longitude (-180 to 180) - `limit?: number` Maximum results (default 20, max 100) - `radius?: number` Search radius in meters (default 500, max 10000) ### Returns - `FeatureCollection` Bare GeoJSON FeatureCollection. Pagination metadata is returned in HTTP headers (X-Limit, X-Has-More, X-Next-Cursor, X-Next-Offset, Link). - `features: Array` - `geometry: GeoJsonGeometry` - `coordinates: Array | Array> | Array>> | Array>>>` GeoJSON coordinates array (nesting depth varies by geometry type) - `Array` - `Array>` - `Array>>` - `Array>>>` - `type: "Point" | "LineString" | "Polygon" | 3 more` - `"Point"` - `"LineString"` - `"Polygon"` - `"MultiPoint"` - `"MultiLineString"` - `"MultiPolygon"` - `properties: Record` - `type: "Feature"` - `"Feature"` - `id?: string` Feature identifier (type/osm_id) - `osm_id?: number` OpenStreetMap ID - `type: "FeatureCollection"` - `"FeatureCollection"` ### Example ```typescript import Plaza from '@plazafyi/sdk'; const client = new Plaza({ apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted }); const featureCollection = await client.elements.nearby({ lat: 0, lng: 0 }); console.log(featureCollection.features); ```