Package-level declarations
Types
Functions
Formats the distance between two coordinates as a human-readable string. Example: paris.distanceLabelTo(london) → "341 km"
Computes the Haversine great-circle distance in kilometers between two coordinates. Example: GeoCoordinate(48.8566, 2.3522).distanceTo(GeoCoordinate(51.5074, -0.1278)) → ~341.0 km
Returns the category title string.
Formats a GeoCoordinate as a decimal degrees string. Example: GeoCoordinate(48.8566, 2.3522).toDecimalDegrees() → "48.8566°N, 2.3522°E"
Formats a GeoCoordinate as a DMS string. Example: GeoCoordinate(48.8566, 2.3522).toDms() → "48° 51' 24\" N, 2° 21' 8\" E"
Parses a "lat,lng" string into a GeoCoordinate. Example: "48.8566,2.3522".toGeoCoordinate() → GeoCoordinate(48.8566, 2.3522)
Returns a Google Maps URL for this coordinate. Example: GeoCoordinate(48.8566, 2.3522).toGoogleMapsUrl() → "https://maps.google.com/?q=48.8566,2.3522"
Returns the standard reason phrase or "Unknown" for non-standard codes.
Returns formatted code and reason string (e.g., "404 Not Found").
Returns the matching HttpStatus enum entry, or null if unknown.