Creates a new GeocodingService instance.
The Cercalia API configuration.
Geocodes an address using Cercalia's structured search mode.
Search parameters including locality, municipality, street, etc.
Promise resolving to an array of geocoding candidates.
Retrieves cities associated with a postal code.
The postal code to search for.
ISO country code (default: 'ESP').
Promise resolving to an array of cities matching the postal code.
Geocodes a road milestone (PK) using Cercalia's road search.
Road designation (e.g., 'A-1', 'N-II').
Kilometer point on the road.
Optionaloptions: GeocodingOptionsOptional search parameters (countryCode, municipality, etc.).
Promise resolving to an array of geocoding candidates.
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 geocoding operations using the Cercalia API.
Remarks
This service implements direct mapping from Cercalia XML/JSON responses following the SDK's Golden Rules: