@arcgis/map-components
Version:
ArcGIS Map Components
15 lines (13 loc) • 415 B
TypeScript
/**
* @param args - An object containing the position to be filtered.
* @since 5.0
*/
export type PositionFilterFunction = (args: { position: FilterPosition; }) => boolean;
export type TrackViewModelState = "disabled" | "error" | "feature-unsupported" | "ready" | "tracking" | "waiting";
export interface FilterPosition {
timestamp: number;
coords: {
latitude: number;
longitude: number;
};
}