interface PhotonOptions {
    apiKey?: string;
    geocodingQueryParams?: Record<string, unknown>;
    htmlTemplate?: (r: any) => string;
    nameProperties: string[];
    reverseQueryParams?: Record<string, unknown>;
    reverseUrl: string;
    serviceUrl: string;
}

Hierarchy (View Summary)

Properties

apiKey?: string

API key to use this service

geocodingQueryParams?: Record<string, unknown>

Additional URL parameters (strings) that will be added to geocoding requests

htmlTemplate?: (r: any) => string
nameProperties: string[]
reverseQueryParams?: Record<string, unknown>

Additional URL parameters (strings) that will be added to reverse geocoding requests

reverseUrl: string
serviceUrl: string

URL of the service