Extracts and coerces latitude and longitude from input object (options, config, or instance)
into a canonical { latitude, longitude, ... } GeoConfig object.
Enforces coordinate boundaries (-90 to 90 for lat, -180 to 180 for lng), 3-decimal rounding,
and automatic hemisphere inference ('north' | 'south' | 'equator').
Parameters
Optionalinput: any
Optional object containing coordinate or geo properties
Extracts and coerces latitude and longitude from input object (options, config, or instance) into a canonical
{ latitude, longitude, ... }GeoConfig object. Enforces coordinate boundaries (-90 to 90 for lat, -180 to 180 for lng), 3-decimal rounding, and automatic hemisphere inference ('north' | 'south' | 'equator').