Trip location provider.
Access by calling const {FleetEngineTripLocationProvider} = await google.maps.importLibrary("journeySharing")
. See
https://developers.google.com/maps/documentation/javascript/libraries.
Options for the location provider.
True if this location provider is polling. Read only.
Minimum time between fetching location updates in milliseconds. If it
takes longer than pollingIntervalMillis
to fetch a location
update, the next location update is not started until the current one
finishes.
Setting this value to 0, Infinity, or a negative value
disables automatic location updates. A new location update is fetched
once if the tracking ID parameter (for example, the shipment tracking ID
of the shipment location provider), or a filtering option (for example,
viewport bounds or attribute filters for fleet location providers)
changes.
The default, and minimum, polling interval is 5000
milliseconds. If you set the polling interval to a lower positive value,
5000 is stored and used.
The ID for the trip that this location provider observes. Set this field to begin tracking.
Adds a google.maps.MapsEventListener for an event fired by this location provider. Returns an identifier for this listener that can be used with google.maps.event.removeListener.
The name of the event to listen for.
The event handler.
Explicitly refreshes the tracked location.
Polyline customization function that colors the active polyline according to its speed reading. Specify this function as the google.maps.journeySharing.FleetEngineTripLocationProviderOptions.activePolylineCustomization to render a traffic-aware polyline for the active polyline.
The parameters provided to the polyline customization function.
Polyline customization function that colors the remaining polyline according to its speed reading. Specify this function as the google.maps.journeySharing.FleetEngineTripLocationProviderOptions.remainingPolylineCustomization to render a traffic-aware polyline for the remaining polyline.
The parameters provided to the polyline customization function.
Generated using TypeDoc
Trip location provider.
Access by calling
const {FleetEngineTripLocationProvider} = await google.maps.importLibrary("journeySharing")
. See https://developers.google.com/maps/documentation/javascript/libraries.