GoogleMapsService class

Constructors

GoogleMapsService()

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

Static Methods

isExternalMapsUrl(String url) bool
Returns true if url is a Google Maps URL that should open externally (browser or native Maps app) instead of inside the webview. Excludes the embed API URL so the iframe can load the map.
isMapsDirectionsUrl(String url) bool
Returns true if url is a Google Maps directions/navigation link (user tapped "Directions" in the embed).
openGoogleMaps(GoogleMapData googleMapData) → void
openGoogleMapsNavigation(GoogleMapData googleMapData) → void
Opens Google Maps with turn-by-turn navigation to the given place. Uses native app schemes so the Maps app starts navigation when installed.