Options
All
  • Public
  • Public/Protected
  • All
Menu

Parent class of polling location providers.

Hierarchy

Index

Constructors

Properties

isPolling: boolean

True if this location provider is polling. Read only.

pollingIntervalMillis: number

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.

Methods

Generated using TypeDoc