Creates a new ProximityService instance.
The Cercalia API configuration.
Finds the nearest POIs to a center coordinate.
Search options including center, categories, and limits.
Promise resolving to proximity search results.
Finds the nearest POIs by a specific category code.
Search center coordinate.
POI category code to search for.
Maximum number of results (default: 5).
Promise resolving to proximity search results.
Finds the nearest POIs with routing distance/time information.
Search center coordinate.
POI category code to search for.
Routing weight ('time' or 'distance').
Maximum number of results (default: 5).
Promise resolving to proximity search results with routing info.
ProtectedrequestExecutes a generic request to the Cercalia API.
Query parameters for the API request.
Human-readable name for logging and debugging.
OptionalbaseUrl: stringOptional override for the base API URL.
A promise resolving to the parsed API response.
Service for proximity search operations using Cercalia API.
Remarks
Finds points of interest near a given coordinate. Supports filtering by POI categories and can include routing information to each result.