GoogleMapsUtils class

A unified entry point for the google_maps_utils package.

Provides access to all utility classes through a single namespace, giving a familiar Flutter-package feel:

// Spherical geometry
GoogleMapsUtils.spherical.computeDistanceBetween(from, to);
GoogleMapsUtils.spherical.computeHeading(from, to);

// Polyline utilities
GoogleMapsUtils.poly.decode(encodedPath);
GoogleMapsUtils.poly.containsLocationPoly(point, polygon);

// Math helpers
GoogleMapsUtils.math.clamp(value, 0, 10);

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

math → const GoogleMapsUtilsMath
Low-level math helpers: haversine, Mercator projections, clamping, and wrapping.
poly → const GoogleMapsUtilsPoly
Polyline and polygon utilities: encoding/decoding, simplification, point-in-polygon, and on-path/on-edge tests.
spherical → const GoogleMapsUtilsSpherical
Spherical geometry utilities: distances, headings, offsets, interpolation, areas, and bounding boxes.