Stable envelope first
The package keeps one top-level result shape across all modes. That means your application can branch on a few stable fields:statusmodeintentresolution.status- section statuses such as
location.statusandplace.status
Coordinate precedence
When a URL contains multiple coordinate-like patterns, the parser prefers more explicit sources first.@lat,lngq=lat,lngquery=lat,lng!3d...!4d.../place/lat,lngll=/sll=- numeric
destination=andviewpoint=
Parsed sections
location: resolved latitude/longitude with source attributionplace: place-path text, formatted address, identifiers, plus code, and provider-enriched place fieldsroute: directions metadata such as origin, destination, travel mode, and optionally duration/distancequery: text searches and map actionsmapView: zoom, heading, pitch, pano ID, and map center when available
Identifier model
featureId and placeId are intentionally separate.
featureIdcomes from the shared URL itself, usually fromftidor a hex-like token inside a Google Maps path.placeIdcomes from optional provider enrichment.
featureId long before a public API lookup yields a place_id.